This Is a marquee that will work in both IE4 & NS4 I
put it here for you convenience. Mike's DHTML scroller All Credits: Description: Similar to our own DHTML scroller creation (Pausing up-down scroller), Mike's DHTML scroller features smooth pausing between messages, configurable scroll speed, color, and font. Oh yes, and the script's cross browser functional too... Demo:
Pausing up-down Scroller // Define two scrollers. var myScroller1 = new Scroller(0, 0, 480, 32, 1, 5); myScroller1.setColors("#006600", "#ccffcc", "#009900"); myScroller1.setFont("Verdana,Arial,Helvetica", 2); myScroller1.setPause(1500) myScroller1.addItem("Click here for Dynamic Drive, the net\'s #1 DHTML site!"); myScroller1.addItem("Visit Brain Jar, Mike\'s great coding site!"); myScroller1.addItem("Looking for free JavaScripts? Visit Website Abstraction."); myScroller1.addItem("Stay abreast on the latest technology news, with News.com."); function runmikescroll() { var layer; var mikex, mikey; // Locate placeholder layer so we can use it to position the scrollers. layer = getLayer("placeholder"); mikex = getPageLeft(layer); mikey = getPageTop(layer); // Create the first scroller and position it. myScroller1.create(); myScroller1.hide(); myScroller1.moveTo(mikex, mikey); myScroller1.setzIndex(100); myScroller1.show(); } window.onload=runmikescroll The script requires two external JavaScript libraries to run, which you'll need to put in your web page directory. 1) dhtmllib.js2) scroller.js The scroller comes with many options, which you set through it's methods. Some of these methods are used in the above code, while others aren't. They are: As you can see, it's one robust scroller Mike's created! Note: descriptions reproduced from Mike's homepage
You can get this script at Dynamic Drive
|