Scrolling JavaScript Banners: Final Thoughts - Doc JavaScript
A Final Word
After reading one of our longest columns, you should not only know how to implement this specific banner, but also how to create your own customized banners. We showed you how to move elements on the page, and how to hide them. We also discussed dynamic element creation in Navigator 4.0x and Internet Explorer 4.0x, using layers and DIV
s respectively.
The banner is a cross-browser script, because it works on both Navigator 4.0x and Internet Explorer 4.0x. It is also backward compatible, because it does not affect older browers, and even offers alternative content (an image). In this column you learned:
- How to specify the banner's position.
- How to use external JavaScript files.
- How to configure the banner.
- How to assign the banner's messages to an array.
- How to initialize the banner.
- How to create the banner's elements.
- How to fill the banner's elements.
- How to set an element's visibility.
- How to rotate the messages.
- How to move the messages.
The banner's external JavaScript files are:
For your convenience, you may also download a zip file containing banner.html, bannerconfig.js, and banner.js. Simply extract the files into any directory and load banner.html in your browser (Navigator 4.0x or Internet Explorer 4.0x).
Created: February 10, 1998
Revised: February 10, 1998
URL: https://www.webreference.com/js/column13/final.html