Template:Team:HokkaidoU Japan/LargeDropDown/JS
From 2014.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
var $child = $menu.children('li'); | var $child = $menu.children('li'); | ||
var $number = $child.index($child); | var $number = $child.index($child); | ||
- | $child | + | |
+ | $child.hover(function(){ alert($number); | ||
$child.eq($number).find('.ldd_submenu').slideDown(300); | $child.eq($number).find('.ldd_submenu').slideDown(300); | ||
} ,function(){ | } ,function(){ |
Revision as of 15:45, 5 October 2014