View Full Version : Do Lightboxes Hate Iframes??

02-22-2008, 07:15 PM
1) Script Title: Lightbox Image Viewer & accordion menu

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

3) Describe problem:

Ok so I've pulled out my hair trying to figure this out.

I am using the accordion menu for this website which targets in an iframe.
I want to have the lightbox for the portfolio section that opens in the top frame, not the iframe.

Currently, the lightbox pictures open in the iframe. :confused::confused::confused:

Please let me know how I can do this. I have tried the lytebox and I have also read through the previous threads in the forum about this subject.

Here is a test link:
http://thecomputerfriend.net/new/ (http://thecomputerfriend.net/new/) click on PORTFOLIO >> GIFT BASKETS

Also, how do you target the menu items to open in the iframe, but refresh at the top?

02-22-2008, 07:24 PM
lytebox is definitely a good way to go in a case like this. lightbox can't do it. One thing that they don't tell you on the lytebox home page though, at least not anywhere I could see it, is that if you use that script as instructed with iframe, you have to give the iframe a name attribute, ex:

<iframe src="iframe.htm" name="DisplayFrame" class="iFrame"></iframe>