I have made a image gallery with jQuery found here:
http://sarfraznawaz2005.kodingen.com/demos/jquery/image_gallery/
I just wanted to know how to I add functionality to prev and next arrow images to show next and previous images with jQuery.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use prev and next to find an element before/after the current one and activate it. You will need to decouple element activation code from the onclick event.
you’re using
but now you need to reuse the activation code, so decouple it