Javascript conflict on my html page

Posted by tochiro on Stack Overflow See other posts from Stack Overflow or by tochiro
Published on 2009-03-27T18:13:16Z Indexed on 2010/05/11 2:14 UTC
Read the original article Hit count: 414

Hello,

I have an accordion menu and a lightwindow script on my web page. The lightwindow script does not work because of the accordion script because if I delete the latter the lightwindow script works. There must be a conflict but what?

Here is the head section of my page:

<!-- lightwindow files -->
<script type="text/javascript" src="lightwindow/javascript/prototype.js"></script>
<script type="text/javascript" src="lightwindow/javascript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightwindow/javascript/lightwindow.js"></script>
<link rel="stylesheet" href="lightwindow/css/lightwindow.css" type="text/css" media="screen" />


<!-- accordion scripts -->
<script src="js/jquery-1.2.1.min.js" type="text/javascript"></script>
<script src="js/menu.js" type="text/javascript"></script>
<script src="js/jquery.cookie.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="css/accordion.css" />

Thank you for your time.

Cheers

tochiro

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about conflict