jquery -> finding elements and navigating throug?
Posted
by mathiregister
on Stack Overflow
See other posts from Stack Overflow
or by mathiregister
Published on 2010-05-19T20:33:49Z
Indexed on
2010/05/19
20:40 UTC
Read the original article
Hit count: 186
Hey guys, i wonder how i can solve the following problem.
i have a horizontal scrollbar with floating divs side by side (.picture_holder). I wonder if i can find() this elements and animate a scroll event to the startpoint of every image. If i reach the last div i it to scroll to the first.
#
$('.next').click(function(){
#
$('html, body').animate({scrollTo:Position von .picture_holder2}, 'slow');
#
});
?? any ideas how i could solve this?
© Stack Overflow or respective owner