PDA

View Full Version : JQuery Script order



easinewe
02-20-2011, 08:09 PM
I am building a site that uses three JQuery plugins.
1. ScrollTo
2. Lightbox
3. JPlayer

I am not able to get ScrollTo and Lightbox to work in conjunction with JPlayer. I'm wondering if I'm ordering the scripts incorrectly on my page. This is the order I have now.

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type='text/javascript' src='js/init.js'></script>
<script type='text/javascript' src='js/jquery.scrollTo-min.js'></script>
<script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
<script type="text/javascript" src="js/jquery.jplayer.inspector.js"></script>
<script type="text/javascript" src="js/playlist.js"></script>
<script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>


Would one of these scripts cancel out another?

easinewe
02-20-2011, 08:11 PM
Specifically I noticed that jquery.min.js interferes with the rest but is necessary for jplayer to work.