jquery - sliding image group left and right (hiding the ones that are past a certain point)

Posted by matthewsteiner on Stack Overflow See other posts from Stack Overflow or by matthewsteiner
Published on 2010-05-16T03:09:07Z Indexed on 2010/05/16 3:20 UTC
Read the original article Hit count: 191

Filed under:
|

So I'm not really sure how to go about doing this at all.

I've got an anchor on the left with id="left" and one on the right with id="right". On the hover event, the image thumbnails should start sliding left or right. If there's not enough thumbnails, there should be no sliding.

It can only fit 4 images in between the left and right anchors. How can I hide all anchors that are not in between the left and right anchors? I want the images to actually slowly move left or right, not just be sudden.

Any ideas? I know how to bind the events and such just fine. I just don't really now how to get started with the image placement.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about images