Results 1 to 5 of 5

Thread: help with Lightbox

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

    Default help with Lightbox

    1) Script Title: Lightbox Image viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tbox/index.htm

    3) Describe problem: Hi, I tried to apply this to my website but it didn't work at all. I'm sure I have applied it to my HTML files correctly.
    When I clicked the image it simply open the enlarged image in a new window like any other linked image.

    Can someone please help me please?

    Thanks,
    Wassouf

  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

    So often folks are sure they've installed correctly when they haven't. Also, it could be a conflict with another script (if any) on your page. Or, some other aspect of your setup could be causing this. More than one problem may exist.

    A link to your problem page is the best way to tell for sure. Any additional information you could provide about the problem may help as well.
    - John
    ________________________

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

  3. #3
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    Thanks for your response,
    You can view it here:

    http://www.xenondesigns.com/testing/products.html

    (click on the last image at the bottom and it will just take you to another broswer, I expected the lightbox to work but it didn't).

    FYI All the lightbox files are located in the root (main) directory.

    Hope you can help, I am also willing to give you access to kindly repair it for me.

    Thanks again,
    Wassouf

  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

    There are a number of problems with your page as often happens when one mixes a WYSIWYG editor, third part scripts and perhaps editing with a text editor. Going into all of them is a bit beyond the scope of your question. The answer to your question is that there is a script conflict due to the body onload event. If it is changed to include the lightbox initialization command, the Lightbox script will work (addition red):

    Code:
    onLoad="initLightbox();MM_preloadImages('images/left1active.gif','images/left31.gif','images/a.products.gif','images/a.home.gif','images/a.contact.gif')">
    - John
    ________________________

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

  5. #5
    Join Date
    Dec 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    jscheuer1, you are a legend. Many Thanks for your efforts.

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
  •