Results 1 to 8 of 8

Thread: Mod lightbox-gone-wild for iframe

  1. #1
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Mod lightbox-gone-wild for iframe

    Does anyone have a modded script for lightbox-gone-wild so it can be used with iframes? I need it to act as lytebox does with its iframe content. i would use that but it only surrports images and not html.

    Any help would be great!
    David

  2. #2
    Join Date
    Feb 2007
    Location
    England
    Posts
    254
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Have you done as it suggests on the lytebox website

    IMPORTANT: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while still including lytebox.js in the iFrame document. Samples are included in the download file from above. If you are still unsure where you need to include each, then it is perfectly safe to include both the css and js in both documents.
    http://www.dolem.com/lytebox/

  3. #3
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    He said that he wants it for HTML, not images.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  4. #4
    Join Date
    Feb 2007
    Location
    England
    Posts
    254
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Sorry for the ambiguity

    I meant for the light-box-gone-wild script.


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

    The whole point is that 'gone wild' doesn't do iframes and that lytebox doesn't do HTML.
    - John
    ________________________

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

  6. #6
    Join Date
    Feb 2007
    Location
    England
    Posts
    254
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Well....

    So I didn't get the question!

    Here are all the other scripts that do similar things to make up (if it helps, I know it isn't an answer though).

    http://fortysomething.ca/mt/etc/archives/005400.php

    EDIT: Isn't greybox what you're after?
    Last edited by Bob90; 05-05-2007 at 03:40 PM.

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

    Quote Originally Posted by Bob90 View Post
    So I didn't get the question!

    Here are all the other scripts that do similar things to make up (if it helps, I know it isn't an answer though).

    http://fortysomething.ca/mt/etc/archives/005400.php

    EDIT: Isn't greybox what you're after?
    Some interesting choices but, I think you still misunderstood. Or, maybe I missed something Bob90. What I think StealthRT is looking for is a script like lytebox that can extend its effect to the top page, even when it is running inside an iframe. Lytebox is the only script of this type that can do this that I am aware of. However, lytebox only does images. Several of the scripts listed at your link can display content, but none of them can spill over onto the top page. One (or more) of them use iframes, but that is different from being in an iframe and being able to spill out over that containing iframe like lytebox can.

    Incidentally, the lytebox technique for this isn't at all bullet proof if there are yet other iframes or frames involved.
    - John
    ________________________

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

  8. #8
    Join Date
    May 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    To all jscheuer1 is correct about what i am looking for

    This is the demo ive been working on:
    http://www.rivingtonclub.com/tbox_tests.html

    It seems to use the thickbox and he modded the js code to suit the html side.

    This is my page that im working on using the above code:
    http://nkphotography.net/iframe.html

    When you click on the image in the corner, it only fills half the screen with the overlay. I have yet to be able to correct this (since i know little about javascript).

    Any help on that would be great as well

    David

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
  •