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