View Full Version : Add nav buttons to Image Thumbnail Viewer II

02-24-2013, 11:22 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: I would like to be able to add "Back" and "Next" buttons next to the main image. So when the "Next" button is clicked, the following image would show.

I found an old post (http://www.dynamicdrive.com/forums/showthread.php?8291-Adding-slideshow-nav-buttons-in-Image-Thumbnail-Viewer-II) with the same question, but the solution is not compatible with the current version of the script.

Any suggestions appreciated!

02-25-2013, 01:34 AM
Hmm,please post your site so your problem can be worked on.Otherwise it will all be a guess...................

02-25-2013, 05:56 PM
Hi Bud,
Here is a link (http://www.kencreative.com/client_testsites/BDG_ImageGallery/image-gallery.html) to my test page.
Currently, a user can only view an enlarged image by clicking a thumbnail.
I would like the user to also be able to click a Back or Next button, which will change the main image to the previous/following image.
Thanks for any help,

02-26-2013, 06:08 AM
Try the following modified .js file. Then on your page, you can embed next/ prev buttons using the following HTML:

<a href="javascript:tvnavigate('prev')">Prev</a>
<a href="javascript:tvnavigate('next')">Next</a>

02-26-2013, 07:02 PM
This is EXACTLY what I was looking for.
Thanks for your time & help,