Hi Vic,
I have had to alter the code somewhat are checking the W3C validation.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<div id="marqueecontainer" onmouseover="m1.Speed=0;" onmouseout="m1.Speed=1;">
<div id="vmarquee" style="position: absolute; width: 98%;">
/*content here*/
</div>
</div>
And:
HTML Code:
<div id="marqueecontainer2" onmouseover="m2.Speed=0;" onmouseout="m2.Speed=1;">
<div id="vmarquee2" style="position: absolute; width: 98%;">
//content here
</div>
</div>
I also had to adjust the other code:
Code:
<script type="text/javascript">
/*<![CDATA[*/
var m1=new Marquee({
ID:'marqueecontainer',
delayb4scroll:2000, //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
marqueespeed:1 //Specify marquee scroll speed (larger is faster 1-10)
});
var m2=new Marquee({
ID:'marqueecontainer2',
delayb4scroll:200, //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
marqueespeed:1 //Specify marquee scroll speed (larger is faster 1-10)
});
/*]]>*/
</script>
Mark.
P.S. How do I properly add comments in Markup?
Bookmarks