jquery - Set marquee scrolling to default starting position -
i have continuous image scroll (marquee) in html. want create marquee should stop when mouse on event activated , images should set starting position. on mouse out marquee should have start scrolling again.
how create ? there methode in jquery?
you haven't given information work in question, fundamentally you'll want hook mouseenter
, mouseleave
events on marquee. (jquery provides them browsers don't support them natively.)
$("selector marquee") .mouseenter(function() { // stop marquee, set element positions want them }) .mouseleave(function() { // restart });
Comments
Post a Comment