Results 1 to 8 of 8

Thread: LightBox

  1. #1
    Join Date
    Oct 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default LightBox

    hi guys,

    ….i’m trying to use lightbox v2.0 on a page that also contains a .mov file and when i click the pictures before the film is loaded the lightbox doesn’t load and simply directs me to the image location….also once the .mov file has loaded i click on the thumbnails and the lightbox seems to be layered underneath the .mov file. I'm using a plugin version spefically programmed for wordpress and i believe the basic functions of the code are the same i just wondered if anyone knew a way to layer the lightbox above the .mov file and also loading the lightbox before the quicktime .mov has loaded

    here is the link for the page that is causing me grief:

    http://sihilldesign.com/wordpress/?p=12

    Any help would be greatly appreciated,

    thanks,

    si

  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

    Lightbox doesn't initialize until the page is loaded. This includes images and, if you have them, .mov files. A way around this would be to not have the .mov load as a part of the page, but rather have it be added later via javascript. Having lightbox's effect appear over a .mov file may be possible using z-index and/or parameters of the .mov file and/or of its tag(s) but, you may have to hide or set the .mov file's container element's display value to none while lightbox is active.
    - John
    ________________________

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

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

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
    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
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Anyway, it looks like one of your scripts is conflicting with the page. Try this, as said in the Support page.



    It doesn't work at all. The image opens up in a new page. What's wrong?


    This is commonly caused by a conflict between JS scripts. Check your body tag and look for an onload attribute. Example:
    <body onload="MM_preloadImages(‘/images/menu_on.gif’)…;">
    A quick fix to this problem is to append the initLightbox() to the onload attribute as so:
    <body onload="MM_preloadImages(‘/images/menu_on.gif’)…;initLightbox()">
    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

  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

    Quote Originally Posted by tech_support
    Anyway, it looks like one of your scripts is conflicting with the page. Try this, as said in the Support page.
    Not really, if you read the post, it says that it only does that until the page has loaded.
    - John
    ________________________

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

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

    Default

    Quote Originally Posted by jscheuer1
    Not really, if you read the post, it says that it only does that until the page has loaded.
    Really? For me it won't even show if you waited for the page to load.
    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

  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 tech_support
    Really? For me it won't even show if you waited for the page to load.
    I hadn't bothered looking, I just trusted what followyourexit had said but -

    Really.

    However, the .mov file takes forever to load so you may have thought that the page was loaded when it wasn't.

    Seeing how long it takes to load, I'd advise compressing the file, or better yet, not using it.
    - John
    ________________________

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

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

    Default

    Or just don't put it on auto-load.
    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

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
  •