Results 1 to 4 of 4

Thread: Light not working

  1. #1
    Join Date
    Apr 2010
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Unhappy Light not working

    1) Script Title: Light box not working

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

    3) Describe problem: Have installed everything in my webpage.
    I have placed the link for js and css in under <head> and the folder can be view. All the png and gif have been put in my css/images folder and i have updated the link. Lastly, I added this code in the page which i want it to appear
    HTML Code:
    <a href="dog.jpg" rel="lightbox" ><img src="dog_thumb.jpg" /></a>
    I get a thumbnail pic appear on my page, but when i clicked it, it open another tab and show the picture in normal mode. What went wrong? Why isn't there a pop up?

    Please help. Thanks.

  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

    Probably either a script conflict or one or more of the scripts are missing. But it might be something else.

    If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2010
    Posts
    13
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Hi this is what i put in my page. This is the code for the page for gallery. All the link can be seen in dreamweaver but the pop out box doesn't appear but open another page to show the bigger image.. Please help thanks.

    Code:
    <script type="text/javascript" src="lightbox.js"></script>
     <link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
    <div id="nows">
    
    <h2>Welcome To Our Gallery!</h2>
    <div id="lightbox">
    <a href="themes/default/css/images/image-1.jpg" rel="lightbox"><img src="themes/default/css/images/thumb-1.jpg" /></a>
    </div>
    
    </div>

  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

    Please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

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
  •