PDA

View Full Version : Image Thumbnail Viewer



fusion_online
02-08-2005, 03:56 AM
Script: Image Thumbnail Viewer
http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

I apologize for needing to post this out here but I have exhausted searching the forums and the Internet. The change I am attempting to make seems simple but after trying numerous things, I have been unable to determine how to do it. What I would like to do is have the image popups appear in a different window than the one causing it. To be more specific, I have an iframe in a page that has thumbnails that can be scrolled through. This 'thumbnail' scrollbar is 100 pixels high. When these thumbnails are clicked on, the popup cannot be opened in this scrollbar, I would like this popup to be opened in the parent window, or the main browser window. I believe this change would only need to be made in the following line:

crossobj.innerHTML='<div align="right" id="dragbar"><span id="closetext" onClick="closepreview()">Close</span> </div><img src="'+which+'">'

If anyone has any input, it would be greatly appreciated.

jpozzi
02-08-2005, 07:40 PM
Hi

If I have understood the problem, wouldn't this one do the job?

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

fusion_online
02-08-2005, 07:54 PM
This is close but I have looked at this. I still want the popup window to open so that the user can move it around like in Image Viewer I but I just need to be able to open it in a different frame or in the parent window. This second version just allows you to define the area of the window where you can open the images but they are located right in the main window. Thanks for looking into it though.I do appreciate any and all help.