SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JQuery Conflicts

    Hello,

    I have a site where I downloaded 2 different rotator scripts.

    I'm not a javascript or jquery guy and I'm just learning.

    I used 2 scripts on this page (http://174.132.169.59/~gci/) and both work fine. One is a main image rotator and the other is a text rotator.

    However the client doesn't want the slow animation that happens in between transitions. This is the Testimonials section. The scripts author says that for this script there is no way to have the text be static between transitions. It wasn't designed to do that. Fine.

    So I found another script and got it working (http://174.132.169.59/~gci/index_new.php). This is perfect and the client likes it. Except something happens somewhere and now the main image rotator doesn't work.

    I'm not much of a jquery guy like I said. I know just enough to get it on the page. I'm hoping some experts out there can give me some direction on how to get the main rotator going again. Or if they know of a script I can get somewhere where I can get both sliders going with both animations. (Dissolve and right to left swipe)

    Thanks,
    Daniel

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,196
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    The reason it has stopped working is because in the "featuredcontentglider.js" file it has

    Code JavaScript:
    jQuery.noConflict()

    The .noConflict() method stops the use of the $ declaration so instead it requires you to use jQuery. If you don't want to have to update all your code simply remove that line and everything will work normally.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That did it. Thanks for your help!

    Daniel


Bookmarks

Posting Permissions

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