PDA

View Full Version : Multiple dynload areas for Image Thumbnail Viewer II



buvwon
04-24-2006, 07:30 PM
Script: Image Thumbnail Viewer II
http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

My Working File:
http://www.bradleynewton.com/rick/excerpts2/excerpts2.html

First let me say thanks to John for modifying this script for me. It is all over this site I created (http://www.deanamason.com) and works great! Thanks again!

So here's what I'd like to do with this script now.

1. I'd like to be able to have two different dynloadareas on the page that change with one click. I want the image to change in the center of the screen (as it does now), but I'd also like to change the image that contains the phrase "Information about this image". I am going to create a bunch of gifs with text in them that I want to swap out so that information is displayed about whatever image the user is viewing. What may make this trickier is that it not only needs to work when clicking the little boxes, but also when clicking the arrows that I have there as well (which don't work right now). (For more on that script modification, see this thread: http://www.dynamicdrive.com/forums/showthread.php?t=8291) I am assuming this would entail creating a new array? Am I on the right track?

2. The second thing I would like to be able to do is have a larger (600 pixels high) image load in a pop up window when the user clicks the magnifying glass or the word "enlarge". Somehow, I need to let the popup know which image to load that corresponds to the image that is currently displayed in the center of the screen.

Thanks in advance!