Results 1 to 4 of 4

Thread: Help for a first time script user

  1. #1
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help for a first time script user

    1) Script Title: Lightbox V1

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

    3) Describe problem: I apologize for my ignorance, but I really need help in knowing where exactly to put the script. I know where to put the first part under the 'head' tag, but the part where the image name goes, I don't. I will have many pictures on the page and then I need each picture to open with a larger picture and a description (www.yourpetsuniverse.com/catbreeds.html)
    Can I do that? Is that the kind of script I need to get that effect in every picture?
    Thank you in advance.

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Just add a rel attribute on your img tag.

    Let me point this part in your markup:
    Code:
    <img src="images/named cats/chantilly_button.gif" alt="Chantilly Cat" width="180" height="173" border="3" rel="lightbox"/>
    ...add highlighted (it's mandatory).

    You could also add a title attribute for the lightbox's caption and a rev attribute to link your caption to a desired URL.

    Hope that makes sense.

    Get back if you're still stumped.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you... am I stumped... well, yeah

    Can you check again to see what's wrong now? I click on the picture and nothing happens. I've uploaded the required files. I've only done it with the first cat. Maybe I should get someone to do it for me?

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    It appears to me that you haven't downloaded the script associated with lightbox.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

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
  •