Template:Team:HokkaidoU Japan/LargeDropDown/JS

From 2014.igem.org

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

Revision as of 11:58, 5 October 2014