View Full Version : Jquery caption breaks after using another Jquery script.

01-07-2012, 05:31 PM
Hi there, I've just started redesigning my website and I'm having trouble with two Jquery scripts clashing.

I have one script that filters out different categories of images, which is working fine. Another script I have is the caption overlay on the images (only active on the first image at the moment), which works at first.

The problem starts when you filter any of the items, and then try and use the image overlay. It just stops working.


Any help is much appreciated.

01-07-2012, 05:49 PM
first remove the second reference to the jquery framework at the bottom of your page. you only need 1, more than one is goign to break things. also on a side note, you for some reason have chosen xhtml dcotype but your page is written in html. XHTML can be very picky, might want to run your html through a w3c validator to help sort that out.

01-07-2012, 06:33 PM
Woops, dunno why it was XHTML, changed that now.

Got rid of the second jquery framework too. Still having the same problem though, and I've ran it through the validator already but I'm only really getting errors about the alt and img tags, which isn't that important right now.

01-08-2012, 01:42 PM