Image Effects : Next-Previous Image Gallery | JavaScriptSource

Image Effects : Next-Previous Image Gallery

Sleuth Solomon May 31, 2006
A very simple image gallery. The script is short and includes comments to guide you along the way.
« »

The JavaScript Source: Image Effects : Next-Previous Image Gallery

Simply click inside the window below, use your cursor to highlight the script, and copy [Control]+C the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


It works great, but is there a way to add text info for each image? Thanks a lot. David.

David Mar 24, 2015

Hello! I need to do a next-previous image gallery and I've tried out to do it using this "Image Effects : Next-Previous Image Gallery" code which is in Unfortunately it doesn't load the 4 images (the new ones I replaced without .jpg)... May it be because of the path to browser finds the images still being myImgSrc = "/img" in my javascript file? Thanks for your help.

Pedro Schreck Jul 17, 2012