Template:TU-header3
From 2011.igem.org
(Difference between revisions)
m |
m |
||
Line 225: | Line 225: | ||
.stop(true) | .stop(true) | ||
.animate({ | .animate({ | ||
- | 'width':' | + | 'width':'143px', |
- | 'height':' | + | 'height':'143px', |
'left':'0px' | 'left':'0px' | ||
},400,'easeOutBack') | },400,'easeOutBack') | ||
Line 236: | Line 236: | ||
.find('.sdt_active') | .find('.sdt_active') | ||
.stop(true) | .stop(true) | ||
- | .animate({'height':' | + | .animate({'height':'143px'},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 = '143px'; |
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
- | left = '- | + | left = '-143px'; |
$sub_menu.show().animate({'left':left},200); | $sub_menu.show().animate({'left':left},200); | ||
} | } |
Revision as of 18:44, 25 July 2011