Need help scrolling through list of thumbnails
Looking for help in animating a list of thumbnail images left and right, and allowing for jquery to know when I'm at the end of the list, or at the beginning so that it stops.
Hello I am fairly new to jQuery. I can handle the basics enough to get some things done. I'm currently working on a fairly complicated (for me) photo gallery that pulls images in from a flickr feed and displays the images and thumbnails of the gallery.
Seen here (only works in firefox atm):
Currently I'm just using a simple .animate to sort of achieve this effect but it obviously doesn't work all that well.
Can anyone help me with this issue?
- $("#prev").click(function(){
- $(".thumbs").animate({"left": "+=109px"}, "slow");
- });
-
- $("#next").click(function(){
- $(".thumbs").animate({"right": "+=109px"}, "slow");
- });