且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

当鼠标悬停在链接上时停止选取框

更新时间:2023-01-26 15:32:44

使用javascript你可以

Using javascript you can
<marquee onmouseover="this.stop();" onmouseout="this.start();">Content</marquee>


<marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);"></marquee>





这应该做诀窍。



总是被告知Opera不会将选框重置为开头。



this should do the trick.

always be advised that Opera will not reset the marquee to the beginning.


您也可以使用它Marquee

http://www.givainc.com/labs/marquee_jquery_plugin.htm [ ^ ]

http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm [ ^ ]



谢谢

--RA
You can use this also instead of Marquee
http://www.givainc.com/labs/marquee_jquery_plugin.htm[^]
http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm[^]

Thanks
--RA