Hello, I would greatly appreciate any help I can get. I currently have an image gallery that is navigated by clicking on numbers 1 through 'n' (n being the last photo). When you click on the number the image is loaded into a div and the clicked numbers class is changed to active. This works fine.
What I am trying to do is add a forward and back option after the 1 | 2 | 3 | 4 | ... | n navigation. If you click on the '<' back link the previous image will load and it's respective link will become active. If you click the '>' forward link the next image will load and the link will become active. I also need to make sure that the back and forward links will not work if the first or last images, respectively, have been loaded.