Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-07-2012, 04:31 PM   PM User | #1
Kee440
New Coder

 
Join Date: Jan 2011
Posts: 25
Thanks: 3
Thanked 0 Times in 0 Posts
Kee440 is an unknown quantity at this point
Jquery caption breaks after using another Jquery script.

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.
Kee440 is offline   Reply With Quote
Old 01-07-2012, 04:49 PM   PM User | #2
DanInMa
Senior Coder

 
DanInMa's Avatar
 
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
DanInMa is on a distinguished road
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.
__________________
- Firebug is a web developers best friend! - Learn it, Love it, use it!
- Validate your code! - JQ/JS troubleshooting
- Using jQuery with Other Libraries - Jslint for Jquery/other JS library users
DanInMa is offline   Reply With Quote
Old 01-07-2012, 05:33 PM   PM User | #3
Kee440
New Coder

 
Join Date: Jan 2011
Posts: 25
Thanks: 3
Thanked 0 Times in 0 Posts
Kee440 is an unknown quantity at this point
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 is offline   Reply With Quote
Old 01-08-2012, 12:42 PM   PM User | #4
Kee440
New Coder

 
Join Date: Jan 2011
Posts: 25
Thanks: 3
Thanked 0 Times in 0 Posts
Kee440 is an unknown quantity at this point
Anyone?
Kee440 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:48 AM.


Advertisement
Log in to turn off these ads.