当鼠标悬停在链接上时停止选取框 [英] Stop marquee when mouse over link

查看:60
本文介绍了当鼠标悬停在链接上时停止选取框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

i我在asp.net中通过c#使用marquee标签。

并且有一些链接在marquee标签中,现在我的问题是: -

当我将指针移到它们上面时(在选框下面的链接)然后选框应该停止。



[edit]仅限主题:尝试描述你的问题简要介绍,以便人们可以判断他们是否可以更轻松地帮助您。 向asp.net提出的问题对任何人都没有帮助,我们可以从标签告诉它是ASP.NET - OriginalGriff [/ edit]

hello friends
i am using marquee tag in asp.net through c#.
and there are some link that is in marquee tag and now my question is:-
when i move my pointer on them(links under marquee) then marquee should stop.

[edit]Subject only: Try to describe your problem briefly in the subject so people can tell if they can help you more easily. "a question realted to asp.net" does not help anyone, we can tell it is ASP.NET from the tags - OriginalGriff[/edit]

推荐答案

使用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 [ ^ ]

< a href =http://www.dynamicdrive.com/dynamicindex14/leftrightslide.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


这篇关于当鼠标悬停在链接上时停止选取框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆