i think that for some reason selectors are not functioning always return null afais.
try using others browsers after fixing the path. the html looks ok to me but ther is a comment before the open of html tag hth - S 2008/4/28 ripple <[EMAIL PROTECTED]>: > First thing I notice is that your image path is broken. > > Try fixing that 1st and maybe everything else will work out. > > > > *kirstyburgoine <[EMAIL PROTECTED]>* wrote: > > > Hi, > I've been using this great jQuery lightbox plugin for a variety of > things and its always worked really well. Recently I've tried adding > into my own blog site I'm building using Wordpress and now I get an > error. > > I put this into header.php: > > > > > > > > > > > and then in wordpress when I write a post I view it in code view and > add the id=gallery to the > > that is listing my images. But it > doesn't work. When I debug using the firefox extension firebug I get > the error > $("#gallery a") has no properties. > > I thought that maybe my header couldn't see jquery.lightbox-0.5.js > so > I changed the path to an absolute path. Also, originally my images > were contained in a > called gallery but wordpress seemed to > ignore my > tags in posts so I changed it so that > had the id > of gallery instead. Nothing seems to have worked. > > I don't get why I'm having this problem with this plugin using > Wordpress when I've done nothing different from other sites > I've used > it on. Its not as if I've mistaken it for a Wordpress plugin > and tryed > to install it into Wordpress rather than my code or anything > silly > like that. > > You can view the grey box that should be my gallery here: > http://www.postcardsfromtheborder.co.uk/wordpress/ > > Somebody please tell me what I've missed. > > Thanks > Kirsty > > > ------------------------------ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now.<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ> >