Posted By

jelontok on 03/04/11


Tagged

javascript jquery accordion


Versions (?)

simple jquery accordion


 / Published in: jQuery
 

simple jquery accordion

  1. $(document).ready(function(){
  2.  
  3. $("#sidebar .menu li ul").hide();
  4.  
  5. $("#sidebar .menu li").hover(function(){
  6. $("ul", this).slideToggle();
  7. }, function(){
  8. $("ul", this).slideToggle();
  9. });
  10.  
  11. });

Report this snippet  

You need to login to post a comment.