Results 1 to 5 of 5

Thread: Lightbox not starting?

  1. #1
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default Lightbox not starting?

    Script title/url: Lightbox image viewer 2.03

    Maybe I'm just too close to the problem. I've used this same setup on several other pages/sites and it works great. I've been looking for a few days now and I can't find any conflicts, missing or broken paths, etc. Can anyone see why lightbox is not working on this page?
    Last edited by traq; 03-24-2009 at 02:03 AM.

  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

    I'm not sure yet, but your:

    http://www.crocilgator.net/library/js/site.js

    is a 404 not found, though I'm not seeing any javascript errors as a result. Also, although in your PHP Photo Album script you have:

    Code:
    var tempcontainer='<a href="'+imagecompletepath+'" target="'+href_target+'" rel="lightbox[trip]" onClick="return popuplinkfunc(this)">'
    which would potentially setup each of these links for initialization via lightbox, if the 'album page' is changed, it will not work. Lightbox 2.04 has a better chance of working with this sort of setup.

    If the above hasn't switched on the 'light' for you and you haven't yet figured out the issue(s), perhaps if you were to post a link to another of these installations where it is working, the problem would be more obvious to me.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    jscheuer, thanks a lot. I know about "site.js" -it's where I'm sticking all the javascript that will be needed on every page site-wide (menus, etc.). It has nothing to do with lightbox.

    I have the php photo album + lightbox set up and working on several pages here. Thanks for your time.

  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

    I don't know why I missed this before. You've neglected to upload effects.js to this location:

    http://www.crocilgator.net/library/js/effects.js

    If you don't have a copy lying around, you can use this one from your other site:

    http://seascouts.arrowheadsps.org/library/effects.js
    - John
    ________________________

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

  5. The Following User Says Thank You to jscheuer1 For This Useful Post:

    traq (03-23-2009)

  6. #5
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    geez... don't know why I missed that, either. thanks a million!

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
  •