Results 1 to 3 of 3

Thread: lightbox image viewer V1 - please help!!!

  1. #1
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question lightbox image viewer V1 - please help!!!

    1) Script Title: lightbox image viewer V1

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

    3) Describe problem: I have read through all the posts and have tried many things they suggest but just cannot get it to work. I am at a complete lost. Any help would be intensely appreciated. There is only one image on the screen (the profile shot) which I want to get it to work with for the moment. Thank you in advance....

    The link is:
    http://www.willowwebsite.com/artists2.htm

  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

    Since you have one, you need to add lightbox to your onload:

    Code:
    <body onLoad="initLightbox();MM_preloadImages('images/home_ro.jpg','images/artists_ro.jpg','images/services_ro.jpg','images/contact_ro.jpg');">
    And it would be a good idea, though probably not required, to remove it (remove this line):

    Code:
    addLoadEvent(initLightbox);	// run initLightbox onLoad
    from the end of lightbox.js. The rel is lightbox, not lighthouse:

    Code:
    <a href="willow-2005-photo.jpg" rel="lightbox" title="Caption- cute cat!">
    For the full effect, you will need to upload loading.gif, close.gif and overlay.png to the same folder containing the page and script.
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Great Stuff!!!!

    IT WORKS, IT WORKS!!!!
    I knew it would be something as simple as that, I feel so daft, I was looking so hard at the problem I couldn't see the forest for the trees so to speak. I just want to say I immensely appreciate you taking the time to assist me, tonight when I knock off from work I will fill my goblet of thanks and raise it in a salute to you!!!! Cheers Mate!!!!

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
  •