Template:Team:HokkaidoU Japan/LargeDropDown/JS
From 2014.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
var number = $child.index(this); | var number = $child.index(this); | ||
$child.eq(number).hover(function(){ | $child.eq(number).hover(function(){ | ||
- | $child.find('.ldd_submenu').number.slideDown(300); | + | $child.find('.ldd_submenu').eq(number).slideDown(300); |
} ,function(){ | } ,function(){ | ||
$child.find('.ldd_submenu').stop(true,true).hide(); | $child.find('.ldd_submenu').stop(true,true).hide(); |
Revision as of 11:45, 5 October 2014