Results 1 to 2 of 2

Thread: Do Lightboxes Hate Iframes??

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

    Question Do Lightboxes Hate Iframes??

    1) Script Title: Lightbox Image Viewer & accordion menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/index.htm
    http://www.dynamicdrive.com/dynamici...ordionmenu.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.

    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/ click on PORTFOLIO >> GIFT BASKETS


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

  2. #2
    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

    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:

    Code:
    <iframe src="iframe.htm" name="DisplayFrame" class="iFrame"></iframe>
    - 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
  •