Javascript/Jquery cancels out other js scripts when turned on... why!?

Discussion in 'jQuery' started by M4X0, Oct 12, 2010.

  1. #1
    Hi, I'm a beginner with javascript and have pulled together a bunch of scripts to build an interactive nav and a slideshow but i can't get them to function simultaneously. there is a jquery.js file that when linked deactivates the navigation effects. I can get the effects to work in isolation within my wordpress site (on my localhost) but they won't both work. any help would be much appreciated! Thanks Max.

    here are my <head> tags.

    
    
    <!-- navigation scripts -->
    <script type="text/javascript" src="http://localhost:8888/mag/wp-content/themes/twentyten/js/jquery_002.js"></script>
    <script type="text/javascript" src="http://localhost:8888/mag/wp-content/themes/twentyten/js/frontend.js"></script>
    
    
    <!-- slideshow scripts -->
    <script type="text/javascript" src="http://localhost:8888/mag/wp-content/themes/twentyten/js/jquery.js"></script>
    
    <script type="text/javascript" src="http://localhost:8888/mag/wp-content/themes/twentyten/js/chili-1.7.pack.js"></script>
    <script type="text/javascript" src="http://localhost:8888/mag/wp-content/themes/twentyten/js/jquery-cycle-all.js"></script>
    <script type="text/javascript" src="http://localhost:8888/mag/wp-content/themes/twentyten/js/jquery.innerfade.js"></script>
    
    HTML:
     
    M4X0, Oct 12, 2010 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What is the jquery_002.js file? Is it just another copy of the the jquery.js file?
     
    digitalpoint, Oct 13, 2010 IP
  3. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #3
    can you load jquery.js first
    then you may call jQuery.noConflict(); it might help
     
    gapz101, Oct 25, 2010 IP