1 post
    Has been part of the Envato Community for over 5 years
frogheart says

Ive been working with this code from this website : http://leandrovieira.com/projects/jquery/lightbox/

I got it to work on one of my pages, but not on the other. It works on this one: http://jessicajjohnston.com/jess_web_lb2.html

It doesn’t work on this one: http://jessicajjohnston.com/print/jess_web_print.html

Can anyone help me figure out why for the love of God?? I’m going insane & even my teacher doesn’t know what’s wrong. My eyes hurt.

Anyway any help would be so so SO greatly appreciated…

2541 posts
    Has referred 10+ members Has sold $100+ on Envato Market Has collected 50+ items on Envato Market Located in United States
+9 more
CreatingDrew says
Ok, well to be honest your code is such a complete mess it is hard to look through but looking at your page (the one that won’t work) in firebug, I noticed your #gallery div is empty. #Table_01 is the table that holds all your images, so the code below would be a temporary fix:

$(function(){ 
$('#Table_01').lightBox(); 
});

I don’t know if you are planning on trying to sell this on ThemeForest or just looking for some help but you will probably want to start over with your code and not use a generator of any kind. You also should validate your page whenever you have any problems as this is the first step to finding issues:

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.jessicajjohnston.com%2Fprint%2Fjess_web_print.html

Regards,

Drew

by
by
by
by
by
by