Template:Team:HokkaidoU Japan/LargeDropDown/JS
From 2014.igem.org
(Difference between revisions)
Line 48: | Line 48: | ||
*/ | */ | ||
var $menu = $('#ldd_menu'); | var $menu = $('#ldd_menu'); | ||
+ | var child = $menu.children("li") | ||
/** | /** | ||
Line 54: | Line 55: | ||
* expand the span element (title) to 510px | * expand the span element (title) to 510px | ||
*/ | */ | ||
- | $ | + | $child.slice(1,3).hover(function(){ |
$this.find('.ldd_submenu').slideDown(300); | $this.find('.ldd_submenu').slideDown(300); | ||
} ,function(){ | } ,function(){ |
Revision as of 09:24, 5 October 2014