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);
-
         $menu.children('li').hover(function(){ alert($number)
+
         $menu.eq($number).children('li').hover(function(){ alert($number)
            $child.find('.ldd_submenu').slideDown(300);
            $child.find('.ldd_submenu').slideDown(300);
} ,function(){  
} ,function(){  

Revision as of 15:59, 5 October 2014