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


IE5+

External Data Source Marquee

Author: Dynamic Drive

Last updated: 99/11/02 Completely re-written to use IE 5's default download behavior, resulting in significantly more stability and versatility over the Active X solution previously implemented.

Description: This is an DHTML scrolling marquee that uses an external HTML document as its content to scroll. As a secondary feature, the marquee slows down when the user moves his mouse over it (to more easily read the contained contents), and resumes it's original scroll speed when out. IE 4 and NS 4 users will simply see nothing. Developers, check out the commented Developer's View to see how we created the script.

Demo:


Directions Developer's View

Simply insert the below into the <body> section of your page where you wish the marquee to appear:

Select All

Configuring the marquee

Configuring the marquee is a piece of cake- everything is done inside the <marquee> tag. In this tag, the style attribute sets the dimensions of it, the src references the external document to load, and finally, the scrollAmount sets the speed. Change all three to your liking.

Enjoy!