Results 1 to 4 of 4

Thread: Lytebox v3.2: iframe within an iframe

  1. #1
    Join Date
    Sep 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lytebox v3.2: iframe within an iframe

    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:

    <body>
    Where the image needs to load.
    <iframe>
    <iframe>
    image with rel="lytebox" & and where it is currently loading.
    </iframe>
    </iframe>
    </body>

    any help is appreciated.
    Last edited by Belle; 10-01-2009 at 01:50 AM.

  2. #2
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Name your frames with the name attribute...

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

    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

  3. #3
    Join Date
    Feb 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

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

    http://www.jamesser.com/wip/signatur...afesupply.html

    Appreciate your help.

    Thanks.

    Cheers,
    James Ser

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •