Team:NYMU-Taipei/Navigation
From 2013.igem.org
(Difference between revisions)
Mastershot (Talk | contribs) |
Mastershot (Talk | contribs) |
||
Line 259: | Line 259: | ||
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
left = '-127px'; | left = '-127px'; | ||
- | $sub_menu.show().animate({'left':left},100 | + | $sub_menu.show().animate({'left':left},100) |
+ | function(){ | ||
var $sub_link = $sub_menu.find('.aWsub'); | var $sub_link = $sub_menu.find('.aWsub'); | ||
$sub_link.hover(function(){ | $sub_link.hover(function(){ | ||
Line 268: | Line 269: | ||
$secsub_menu.show().animate({'left':left},100); | $secsub_menu.show().animate({'left':left},100); | ||
- | } | + | } |
}) | }) | ||
} | } |
Revision as of 16:18, 19 September 2013