...

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



Kee440
01-07-2012, 04: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.

http://www.kierangabriel.com/new/

Any help is much appreciated.

DanInMa
01-07-2012, 04: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.

Kee440
01-07-2012, 05: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.

Kee440
01-08-2012, 12:42 PM
Anyone?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum