onmouseover="this.stop()" onmouseout="this.start()">应该写在怎么位置?

来源:百度知道 编辑:UC知道 时间:2024/06/08 23:40:53
我的代码是这样写的:<marquee><img src="DSC00433.JPG"  width="100" height="120" /> <img src="DSC00743.JPG" width="160" height="120" /> <img src="DSC00770.JPG" width="160" height="120" />
<img src="DSC00789.JPG" /> <img src="DSC00778.JPG" width="160" height="120" /><img src="DSC00375.JPG" width="160" height="120" />
<img src="綦江N464.JPG" width="100" height="120" />
<img src="綦江N464A.JPG" width="100" height="120" />
</marquee> </td>
请问要把onmouseover="this.stop()"onmouseout="this.start()"应该分别写在什么位置才可以实现:鼠标移上去时停止、鼠标移开时重新开始 !
哪位高手帮帮忙,最好说详细点!在线等。。。。。

写在<marquee >里面就好, 这是marquee的鼠标动作.改好后是:
<marquee onmouseover="this.stop()"onmouseout="this.start()"><img src="DSC00433.JPG" width="100" height="120" /> <img src="DSC00743.JPG" width="160" height="120" /> <img src="DSC00770.JPG" width="160" height="120" />
<img src="DSC00789.JPG" /> <img src="DSC00778.JPG" width="160" height="120" /><img src="DSC00375.JPG" width="160" height="120" />
<img src="綦江N464.JPG" width="100" height="120" />
<img src="綦江N464A.JPG" width="100" height="120" />
</marquee>