Lightbox Not Working

Hi All,

The link for the page is here http://www.rockyformayor.com/lightbox.php

As you can see there is an image gallery that is supposed to be controlled with lightbox, however I can not get the lightbox script to work and everything i’ve looked at seems ok. Any ideas I have uploaded all the required js files and images files as well.

Your link throws a 404 error.

Oh ya I had lightbox on the mind so much I gave the wrong link.

The proper link is http://www.rockyformayor.com/gallery.php

Any help appreciated

Thanks

I’m not sure if this is leading to the problem, but the closing forward slash is in the wrong place for all your gallery images:

<img src="images/thumb1.jpg" width="150" height="100" alt="" / border="0">

It should be:

<img src="images/thumb1.jpg" width="150" height="100" alt="" border="0"/>

Be sure to validate your HTML with the W3C validator…I’m thinking the javascript isn’t able to parse your HTML code because there are errors in it.

I did take the youtube stuff out which was causing all the issues. The page now validates but Lightbox still does not work after the fix I put in that you suggested. Any ideas?

It’s working for me in Firefox, Chrome, IE8 and Opera. :slight_smile:

Finally figured it out I just reuploaded all the files in the js folder. Weird how those things happen.