Click here to Skip to main content
15,891,908 members
Please Sign up or sign in to vote.
1.22/5 (2 votes)
See more:
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]
Posted
Updated 10-May-17 5:08am
v2
Comments
Sergey Alexandrovich Kryukov 14-Jul-11 4:32am    
Marquee is evil.
--SA

Using javascript you can
<marquee onmouseover="this.stop();" onmouseout="this.start();">Content</marquee>
 
Share this answer
 
Comments
Espen Harlinn 15-Jul-11 10:49am    
My 5
Tech Code Freak 1-Feb-12 2:23am    
5up!
Rajesh Anuhya 1-Feb-12 2:26am    
Good answer, have my +5
--RA
<marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);"></marquee>


this should do the trick.

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900