Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Jquery Image gallery with Next/Previous buttons doesn't work correctly

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #145275
    ajnoguerra
    Participant

    I’m trying to create a slide gallery of images. It doesn’t need to run automatically. I just want it to have a previous and next button so the user can navigate manually.

    My problem is my code doesn’t work. The NEXT button, it only jumps to the second image and never goes to the remaining image when I try clicking it again. The PREVIOUS button when clicked, should show the last image or the previous one but it doesn’t.

    Please help me out. See my code here

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.