该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
横向不间断连续滚动图片,将下面代码放到你要显示的位置
//more javascript from http://www.smallrain.net
document.write('
document.write('
');document.write('
');document.write('
document.write('
document.write('
');document.write('
');document.write('
document.write('
');document.write('
document.write('
document.write('
document.write('
document.write('
document.write('
');document.write('
');document.write('
');document.write('
');document.write('
');document.write('
');document.write('
document.write('
');document.write('
');document.write('
');var speed=30
marquePic2.innerHTML=marquePic1.innerHTML
function Marquee(){
if(demo.scrollLeft>=marquePic1.scrollWidth){
demo.scrollLeft=0
}else{
demo.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
demo.οnmοuseοver=function() {clearInterval(MyMar)}
demo.οnmοuseοut=function() {MyMar=setInterval(Marquee,speed)}