Answers for "how to stop marquee when hover"

1

marquee tag stop on hover

<marquee onMouseOver="this.stop()" onMouseOut="this.start()">Text</marquee>
Posted by: Guest on May-01-2021
0

marquee tag stop on hover

$(function() {
    $('marquee').mouseover(function() {
        $(this).attr('scrollamount',0);
    }).mouseout(function() {
         $(this).attr('scrollamount',5);
    });
});
Posted by: Guest on May-01-2021

Browse Popular Code Answers by Language