Template:Team:HokkaidoU Japan/LargeDropDown/JS

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
                     var $number = $child.index(this);
                     var $number = $child.index(this);
   
   
-
            $child.eq($number).find('.ldd_submenu').slideDown(300);
+
            $child.eq($number).find('.ldd_submenu').stop().slideDown(300);
} ,function(){  
} ,function(){  
                                           $child.find('.ldd_submenu').stop(true,true).slideUp(300);
                                           $child.find('.ldd_submenu').stop(true,true).slideUp(300);

Revision as of 13:11, 17 October 2014