Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    48
    Thanks
    5
    Thanked 2 Times in 2 Posts

    help with lightbox

    hey everyone,

    i'm completely new to using javascript, but i thought lightbox was simple enough to implement into my first website produced for a client. but i'm having a bit of an issue.

    for some reason, the first image in the series isn't including itself in the set of images. i have four rows of images, so this happens with each first image per row. i thought it was because those first images are in a different class (for left-margin), but when i tried to keep them all in the same class, the problem still occurs.

    see here:
    http://www.allisonwrote.com/aussie/e...ndscaping.html
    http://www.allisonwrote.com/aussie/e...driveways.html

    thanks.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    In the second link of http://www.allisonwrote.com/aussie/e...driveways.html, I see
    Code:
    <a rel="lightbox[driveway]"" href="http://www.allisonwrote.com/aussie/images/driveway2.jpg"><img src="http://www.allisonwrote.com/aussie/images/drive2sm.jpg" class="example"/></a>
    , which might be the error.

    And it's always a good practice to rectify the markup errors, while using such dedicate codes , see http://validator.w3.org/check?uri=ht...Inline&group=0
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    allisonwrote (06-03-2008)

  • #3
    New Coder
    Join Date
    Apr 2008
    Posts
    48
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Ah, yes! Thank you. It was a matter of a missing quotation mark. That's what I get for copy pasting my code haphazardly....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •