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

 

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

1 <marquee style="width: 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>  

 

posted @ 2016-06-05 15:01  oldmonk  阅读(5523)  评论(0编辑  收藏  举报
Fork me on GitHub