Results 1 to 3 of 3

Thread: Problems with Lightbox Viewer 2.0 in Firefox w/custom scrollbars div

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

    Default Problems with Lightbox Viewer 2.0 in Firefox w/custom scrollbars div

    Hi there...

    I was hoping one of you javascript gods out there could help me with a problem I'm having with the Lightbox Image Viewer 2.0 script.

    Specifically, I'm having a problem getting it to work in Firefox when I put my thumbnails within a scolling div area using the FleXscroll script by Heseido - which is a cross-browser, user-friendly custom scrollbar script. BTW, I know custom scrollbars are *bad*...but in this case...it was a specific request by the client.

    I know I'm not supposed to ask questions about problems with 3rd party scripts...but I was hoping by posting the .js code...someone would take pity on me (plus I wasn't sure if his code qualified as 'complicated'). If I messed up...please don't hollar at me.

    I've got an example of the problem set up here. With the FleXcroll .js code here.

    In Firefox, the image just opens directly in the browser...bypassing the Lightbox effect. It works correctly in IE though (go figure) - and I haven't tested any other browsers.

    Aside from the basics...I'm really quite awful with javascript....so I've no clue on where to start for troubleshooting. I tried scanning through the flexcroll.js file to see if anything obvious popped out at me...but I've really no clue what to look for.

    Thanks in advance to anyone who can help.
    Last edited by logicalinsanity; 06-10-2006 at 07:15 PM.

  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 thinking you found a solution as, your demo works in FF here.
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yup. Sorry about that. I made a mental note to post a follow-up here - but had forgotten. I contacted the script author and he identified the problem right away.

    Both scripts (lightbox & flexcroll) require an onload event, so I just had to initiate them both in a function. If I'd actually read through the Lightbox FAQ, they specifically mention this as being a possible problem when you can't get their script to work. Definitely taught me a lesson in doing my homework better before bothering people.

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
  •