i have an issue... we are transitioning from one application to another.. coldfusion to php... cartweaver to magento.. and there is a jquery that is not working within our magento application here are the two scrips
script 1
<script type="text/javascript">
184 jQuery.noConflict();
185 jQuery(document).ready(function($) {
186 // Expand only the active menu, which is determined by the class name
187 $("#menu > li > a[@class=expanded] ").find("+ ul").slideToggle("medium");
188
189 // Toggle the selected menu's class and expand or collapse the menu
190 $("#menu > li > a").click(function() {
191 $(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium");
192 });
193 });
194 </script>
script 2
<link rel="stylesheet" href="http://www.blankdealer.com/cw3/Assets/css/menu.css" type="text/css"/>
199<script type="text/javascript" src="http://www.ourdomain.com/js/jquery.js"></script>
200<script type="text/javascript">
201 $(document).ready(function() {
202 // Expand only the active menu, which is determined by the class name
203 $("#menu > li > a[@class=expanded] ").find("+ ul").slideToggle("medium");
204
205 // Toggle the selected menu's class and expand or collapse the menu
206 $("#menu > li > a").click(function() {
207 $(this).toggleClass("expanded").toggleClass("collapsed").find("+ ul").slideToggle("medium");
208 });
209 });
210</script>
the noConflict() must be causing some problem.. because our old applicatoin doesn't have any jquery other then this script and i am sure magento does.. basically the bug is that the navigation tree stays open on our old site and on a new site when reloading the page it closes. Any suggestions?