Template:TU-header3
From 2011.igem.org
(Difference between revisions)
K.warringa (Talk | contribs) |
K.warringa (Talk | contribs) |
||
Line 236: | Line 236: | ||
.find('.sdt_active') | .find('.sdt_active') | ||
.stop(true) | .stop(true) | ||
- | .animate({'height':' | + | .animate({'height':'124px'},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 = '124px'; |
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
- | left = '- | + | left = '-124px'; |
$sub_menu.show().animate({'left':left},200); | $sub_menu.show().animate({'left':left},200); | ||
} | } | ||
Line 259: | Line 259: | ||
'width':'0px', | 'width':'0px', | ||
'height':'0px', | 'height':'0px', | ||
- | 'left':' | + | 'left':'62px'},400) |
.andSelf() | .andSelf() | ||
.find('.sdt_wrap') | .find('.sdt_wrap') |
Revision as of 12:41, 26 July 2011