View Full Version : Lightbox opening images outside of iframe

08-14-2008, 06:02 PM
1) Script Title: Lightbox image viewer 2.03a

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

3) Describe problem:

I do not know if this is possible to do, but I really hope it is. I have my lightbox setup within an iframe. When you click on the thumbnails to activate the lightbox, I want lightbox to open in a new window, outside of the iframe... is this possible? I've researched this, and have yet to find an answer...

Thanks so much for reading!

08-14-2008, 06:54 PM
It's probably possible, but it kind of defeats one of the main the purposes of using a lightbox sort of interface to display images. That is to avoid resorting to a pop up window that may be blocked. If one were to try this, it would probably be easier to write some sort of lightbox type interface and have the page that is in the pop up have that on it - then feed that page the filename for the image.

However, I would recommend using lytebox:


It is very similar to lightbox, and can show the lightbox effect on the top page, even when the triggers (thumbnail or text links) for it are in an iframe.

08-15-2008, 02:00 PM
Thanks so much for your reply!

I think I'm going to take a different route, and use tabs to control the information I wanted in an iframe - which will wipe out my need for iframes, and allow lightbox to open full screen! :)