Sunday, June 28, 2009

[jQuery] Re: two jQuery conflict

you only need one instance of jquery.js on page for all jquery related plugins. noConflict doesn't apply to multiple instances of jquery.js

jquery-1.1.3.1 is quite old version, get rid of that one, move newer version to top ( latest version is 1.3.2)

alternative wrote:
Hi, can someone help me for my code? I'm really not a coder you know, but i really like this query scripts, I'm having a problem with my two scripts. the "lavalamp query script" and the "jFlow" something from query also. I just got that from a free template which I downloaded a few days ago.  here is my problem, first, I used to work with the lavalamp, but when I added the other query, I got this conflict. I have read the "jQuery.noConflict();" something, but the problem is, I don't know where to add this thing. Here is my code:      <script type="text/javascript" src="style/jquery-1.1.3.1.min.js"></ script>     <script type="text/javascript" src="style/jquery.easing.min.js"></ script>     <script type="text/javascript" src="style/ jquery.lavalamp.min.js"></script> 	<script type="text/javascript">     $(function() { $("#one").lavaLamp({ fx: "backout", speed: 700 })}); 	</script> <script src="style/jquery-1.2.6.pack.js" type="text/javascript"></ script> <script src="style/jquery.flow.1.1.min.js" type="text/javascript"></ script> <script type="text/javascript"> $(function() { $("div#controller").jFlow({ slides: "#slides", width: "739px", height: "200px" }); }); </script>  I really really need your help. please contact me with my email address. Or just here. .  it would help me a lot, thanks!    

No comments: