View Full Version : Lytebox v3.2: iframe within an iframe

10-01-2009, 01:38 AM
Script: http://www.dolem.com/lytebox/

Website: http://www.diviniaro.com/Belle/NewRO2/ --> to see the item in question go to "Donate" then "donate" on the left and click the first item icon.

I am trying to get lytebox working to load into the parent.parent of the iframe with the link. At the moment the image loads into _self and does not reference the lyte box.

All my iframes have names. I have tried changing all the .parent references in the script into .parent.parent with no result. I'm by no means a scripter and I'm not sure if anything else needs to be changed.

Page layout is basically:

Where the image needs to load.
image with rel="lytebox" & and where it is currently loading.

any help is appreciated.

10-05-2009, 10:15 PM
Name your frames with the name attribute...

<iframe name="iframe1">
<iframe name="iframe2">
content here

Then call the iframes by the name attribute instead of utilizing parent.parent

Hope this helps,

Larry Darrah
MS Architect Evangelist
my suggesations and opinions are my own and are not to misconstured as Microsoft's

02-05-2011, 12:07 PM

I've encountered problems with loading lytebox within iframe in firefox. So far, i've tested with chrome and safari which are running fine.


Appreciate your help.


James Ser

02-05-2011, 04:39 PM
Works fine in Firefox here, on the PC. From your post though I'm guessing that you mean Firefox on a Mac. Is that correct? If so, it may be something about your Firefox, or it could be something about Firefox on the Mac in general.