Team:NYMU-Taipei/Templates/Header/menubar
From 2011.igem.org
(Difference between revisions)
Line 162: | Line 162: | ||
.stop(true) | .stop(true) | ||
.animate({ | .animate({ | ||
- | 'width':' | + | 'width':'165px', |
- | 'height':' | + | 'height':'165px', |
'left':'0px' | 'left':'0px' | ||
},400,'easeOutBack') | },400,'easeOutBack') | ||
Line 173: | Line 173: | ||
.find('.sdt_active') | .find('.sdt_active') | ||
.stop(true) | .stop(true) | ||
- | .animate({'height':' | + | .animate({'height':'165px'},300,function(){ |
var $sub_menu = $elem.find('.sdt_box'); | var $sub_menu = $elem.find('.sdt_box'); | ||
if($sub_menu.length){ | if($sub_menu.length){ | ||
- | var left = ' | + | var left = '165px'; |
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
left = '-170px'; | left = '-170px'; |
Revision as of 17:02, 5 October 2011