PDA

View Full Version : Multiple Javascript problem



~ocean
22 Jan 2011, 04:20 PM
Okay so I decided to go creative on a client's page and I have a combination of protoype, scriptaculous and JQuery. The problem is is that
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js"></script>
<script type="text/javascript" src="js/accordion.js"></script> Only work if they are placed at the bottom of the list of scripts. However, then the other scripts don't work.

Recently I heard about jquery no co***ict. I have not much of a clue what that is but If you know about it or another solution please tell me ASAP!

Thanks in advance!

BTW this is my Javascript list below.


<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js"></script>
<script type="text/javascript" src="js/accordion.js"></script>
<script type="text/javascript" src="menu/jquery.js"></script>
<script type="text/javascript" src="menu/sliding_effect.js"></script>
<script type="text/javascript" src="javascripts/jquery-1.4.4.js"></script>
<script type="text/javascript" src="javascripts/fancybox/jquery.fancybox-1.3.2.pack.js"></script>
<script type="text/javascript" src="javascripts/site.js"></script>