I am not sure what I am missing here. this is the code I have placed:
<script type="text/javascript">
$(function(){
$(".category_list").hide(); return false;
$("#sol-surface").click( function() {
$(this).next().toggle();
return false;
});
$("#nat-stone").click( function() {
$(this).next().toggle();
return false;
});
$("#man-surface").click( function() {
$(this).next().toggle();
return false;
});
});
</script>
and while it is hiding the submenu, it is also not coming up when I click on the item - this is what comes up when I look at the page source:
<div class="cat_nav">
<ul>
<li><a href="#" id="sol-surface">Solid Surface</a></li>
<li><a href="#" id="nat-stone">Natural Stone</a></li>
<li><a href="#" id="man-surface">Manufactured Surface</a></li>
</ul>
<div id="sub-nav">
<ul class="category_list">
<li><a href="http://www.metrostoneworks.com/products/?c=corian">Corian</a></li>
</ul>
<ul class="category_list">
<li><a href="http://www.metrostoneworks.com/products/?c=granite">Granite</a></li>
<li><a href="http://www.metrostoneworks.com/products/?c=silestone">Silestone</a></li>
</ul>
<ul class="category_list">
<li><a href="http://www.metrostoneworks.com/products/?c=zodiaq">Zodiaq</a></li>
</ul>
</div> <!-- EO #sub-nav -->
</div> <!-- EO .cat_nav -->
and I am not sure why I cannot get to the submenu...thanks