New Revised CSS Library Forums Web Tools
FAQs Awards Usage Terms Contact
Categories
Other Sections
Sweet Ads
Compatibility
Bookmark online:


FF1+ IE5+ Opr7+

<IFRAME> ticker

  Author: Dynamic Drive

Description: Display and rotate content from an external file using this robust IFRAME ticker. Noteworthy features of the script include:

- Content is pulled from an external html file
- Each content is defined inside the same page and using regular HTML, instead of inside JavaScript variables
- Works in both IE4+ and NS6+, degrading well with rest (by not appearing).

This script can further be combined with PHP or other server side scripting to dynamically populate the content.

We love this script, and it's not just because we created it :)

Demo:


Directions Developer's View

Step 1: Add the below code where you wish the scroller to appear on your page:

Select All

Step 2: The script accesses an external .htm file for its content. Save the following external htm file:

exfile.htm (save by right clicking, and selecting "save as")

That's it for installation!

Customizing the script

To edit the scroller's content, open up exfile.htm using any text editor, and add your content in between the HTML comments. You may also configure the scroller's speed by changing the variable "delay" inside the script that follows.