<MARQUEE scrolldelay="100" onmouseover=this.stop(); onmouseout=this.start(); direction="left" style="cursor:hand">
<a href="#" class="content">·步行街黄金旺铺转让</a>
<a href="#" class="content">·步行街黄金旺铺转让</a>
<a href="#" class="content">·步行街黄金旺铺转让</a>
<a href="#" class="content">·步行街黄金旺铺转让</a>
</MARQUEE>
无缝滚动代码
<div id=demo style=overflow:hidden;height:139;width:232;background:#f4f4f4;color:#ffffff><table align=left cellpadding=0 cellspace=0 border=0><tr><td id=demo1 valign=top><img src="images/12460764740.jpg"><img src="images/12460764741.jpg"><img src="images/12460764742.jpg"><img src="images/12460764743.jpg"><img src="images/12460764744.jpg"></td><td id=demo2 valign=top></td></tr></table></div>
<script>
var speed=30
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
html问题
乐其
www.leqii.com