Jquery code for sidebar
-
Hi
I’m trying to use this piece of jquery code to enable a dropdown sidebar menu. However, it is currently coded for a primary menu. How would I modify this for my sidebar menu?
<script type="text/javascript"> function mainmenu(){ jQuery(" #primary_nav li").hover(function(){ jQuery(this).find('ul:first').slideDown("slow"); },function(){ jQuery(this).find('ul:first').slideUp("slow"); }); } jQuery(document).ready(function(){ mainmenu(); }); </script>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Jquery code for sidebar’ is closed to new replies.