Rotating Text Banners: Introduction - Doc JavaScript | WebReference

Rotating Text Banners: Introduction - Doc JavaScript


Rotating Text Banners

Dynamic HTML opens up new possibilities. With previous versions of HTML and JavaScript, it wasn't possible to change the content of a page once it had finished loading. Dynamic content was limited to plain text in the status bar and in form fields. Navigator 4.0x and Internet Explorer 4.0x enable you to modify the document's HTML code.

In this column we'll show you how to dynamically change an element's code. We'll create a rotating text banner, a convenient way to present unlimited content in a limited area. But before we dive into the details, take a look at a live demonstration:



In this column you'll learn:

  1. How to determine which browser the user is running.
  2. How to create a container for the rotating text script.
  3. How to to update existing HTML code.
  4. How to rotate the banner.

http://www.internet.com


Created: September 25, 1997
Revised: April 16, 1998

URL: http://www.webreference.com/js/column3/