Team:NYMU-Taipei/Navigation
From 2013.igem.org
(Difference between revisions)
Mastershot (Talk | contribs) |
Mastershot (Talk | contribs) |
||
Line 260: | Line 260: | ||
$sub_menu.show().animate({'left':left},100) | $sub_menu.show().animate({'left':left},100) | ||
var $sub_link = $sub_menu.find('.sdt_aWsub'); | var $sub_link = $sub_menu.find('.sdt_aWsub'); | ||
- | $sub_link. | + | $sub_link.mouseover(function(){ |
- | + | var $secsub_menu = $.next(); | |
- | var | + | var leftx = '254px'; |
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
- | var | + | var leftx = '-254px'; |
- | $secsub_menu.show().animate({'left': | + | $secsub_menu.show().animate({'left':leftx},100); |
- | + | ||
- | + | ||
}) | }) | ||
} | } |
Revision as of 16:58, 19 September 2013