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 5 of 5
  1. #1
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts

    jQuery Not Working The Same From Page to Page

    Hey Guys,

    I'm working on setting up a site that uses the "Easy Slider" jQuery plugin. I got it working exactly the way I intended on the home page, and was aiming to keep it working on interior pages as well. The site is built using wordpress - so the header that includes the necessary js files is the same, and the interior and index pages both call "features.php" which pulls the same list that the plugin is suppose to work on. The code is the exact same. However on interior pages the list doesn't work, it just shows normally over top of the rest of the site.

    Links:
    Index (Works): http://www.pinpointcreative.com/revision
    Interior Page (Doesn't Work: http://www.pinpointcreative.com/revision/about

    Can y'all take a look at the pages and see if you can spot whats keeping the plugin from working? I'd really appreciate it.

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    The code can't be exactly the same if you have a Javascript error:
    $panels[0] is undefined
    Are you a Help Vampire?

  • #3
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts
    I was running 2 carousel plugins - one for the header, one for a small area on the home page - turns out the code from the carousel on the homepage was messing up the code on the header carousel on the interior pages.

    Stupid question, how'd you find that error?

    Thanks.

  • #4
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    Firebug. Never need to ask a "what's broken" question again.
    Are you a Help Vampire?

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,479
    Thanks
    6
    Thanked 981 Times in 954 Posts
    Also the web developer toolbar has an icon in the right corner that shows if there are errors and launches Firefox’s built in error console.


  •  

    Posting Permissions

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