html代码实现自动滚动,鼠标滑过时停止滚动

废话不多说,直接上代码!

1 <marquee style=" 1200px;height:200px;margin:0px auto" onmouseout="this.start();" onmouseover="this.stop();"scrolldelay="100" direction="left">
2        <img src="images/u=1016631571,2309477070&fm=23&gp=0.jpg"></img>
3        <img src="images/u=2697044944,2142305470&fm=11&gp=0.jpg"></img>
4        <img width="400" height="300" src="images/u=3417782291,3017194704&fm=23&gp=0.jpg"/>
5  </marquee>