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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -