Question : two jquery files affect each other?

Hey gurus, I am working with several jquery files in my new project and I am having issues figuring out why they seem to affect one another. If I place the include line for the spy.js above the lineNav.js file then the spy works and the nav features do not work.  If I reverse them neither work all together.  I have to completely remove the include for the spy for the menu to work as should.  From what I can tell there are no functions or variables that are named the same.

Wondering if anyone can tell me what I am missing or not seeing.

Thanks,

Frankie
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
//menu for magicline
<div class="nav-wrap">
   <ul class="group" id="menuWrap">
      <li class="current_page_item"><a href="#">HOME</a></li>
      <li><a href="#">ROSTER</a></li>
      <li><a href="#">NEWS</a></li>
      <li><a href="#">EVENTS</a></li>
      <li><a href="#">SPONSORS</a></li>
   </ul>
</div>

//for spy
<div id="rightcol">
<div id="postlist">

<ul class="spy">
<li>

1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad laborum.  

</li>
<li>

2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad laborum.  

</li>
<li>

3 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad laborum.  

</li>
<li>

4 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad laborum.   


</li>

<li>

5 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad laborum.   


</li>

</ul>
</div>
<div class="clear"></div></div>
Attachments:
 
magicLine scripts
 
 
scrolling
 
 
works with the spy.js file
 
 
works with the linenav.js file
 
 
this is background image for the spy posts
this is background image for the spy posts
 

Answer : two jquery files affect each other?

A basic fix would be to replace all "$" with "jQuery" on one or both scripts.. try that first
Random Solutions  
 
programming4us programming4us