Simply add the script to the bottom of your page and you can convert any of your page content into marquees simply by adding a class. If JavaScript is not available then the content will appear as it normally would if it were not for the class="marquee".
Example text marquee:
<p class="marquee" style="height:22px">The quick brown fox jumped over the lazy dog. She sells sea shells by the sea shore.</p>
Code to add an optional start/stop button:
<div class="marqueess"></div>
An example mixing text and images:
<p class="marquee" style="height:90px">Steve <img src="img/12274.jpg"/></p>
Note that all of the marquees you add to your page will scroll at the same speed. If the mouse moves over any of them while they are scrolling they will stop scrolling until the mouse moves off again. If you use a start/stop button and the scroll is stopped then the mouse will have no effect. |