PDA

View Full Version : Scrolling Marquee Custom Block


Sam FT
06-25-2004, 04:59 AM
I am currently trying to code a marquee in a custom block in vbindex. Here is the code I am using so far.


<script language="javascript" src="buttonfader.js"></script>
<a name= "scrollingCode"></a>
<marquee behavior="scroll" loop="-1" height="300" direction="up"
scrollamount= "2" hspace="0" vspace="0" scrolldelay= "60"
onmouseover='this.stop()' onmouseout='this.start()'>
<center>
<a href="http://www.test.net (http://www.test.net/)" target="_blank">
<img src="images/affiliates/test.png" height="31" width="88"
border="0" vspace="3" alt="Test"
onMouseOver="this.filters.alpha.opacity='100'"
onMouseOut="this.filters.alpha.opacity='40'"
style="filter:alpha(opacity=40);-moz-opacity:40%;"></a>
</center>
</marquee>

In IE is looks fine no problem, but in firefox it won't work. So I try to taking out code the first two lines. Still in firefox it won't scroll, until I take out the height part then it works somewhat. But now my block in height is small. Can anybody give me some tips or tell me what I am doing wrong here.