jaanrs Posted March 5, 2015 Share Posted March 5, 2015 I'd like to add next and previous buttons to the product image on product page, so that the user can look through all pictures with these buttons, exactly like when the image is opened to fancybox. How can I get the next and previous images in javascript? Im thinking something of this sort function nextImage(){ document.getElementById('bigpic').src = next $image.id_image Thanks! 1 Link to comment Share on other sites More sharing options...
jaimelesmes12 Posted February 8, 2018 Share Posted February 8, 2018 hi could you find a solution to your problem? I try to do the same but I do not find as without a plugin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now