Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2011
    Posts
    25
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    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.

  • #3
    New Coder
    Join Date
    Jan 2011
    Posts
    25
    Thanks
    3
    Thanked 0 Times in 0 Posts
    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.

  • #4
    New Coder
    Join Date
    Jan 2011
    Posts
    25
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Anyone?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •