关于图片滚动的问题?(在线等)急!!!
<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>
这段代码怎样改动可以使图片上下滚动?
请各位帮帮忙,十万火急呀!!!
------解决方案--------------------http://blog.csdn.net/wangsdong/archive/2007/03/25/1540487.aspx
图片向上移动代码