Template:TU-header3
From 2011.igem.org
(Difference between revisions)
K.warringa (Talk | contribs) |
K.warringa (Talk | contribs) |
||
Line 228: | Line 228: | ||
'height':'124px', | 'height':'124px', | ||
'left':'0px' | 'left':'0px' | ||
- | }, | + | },400,'easeOutBack') |
.andSelf() | .andSelf() | ||
.find('.sdt_wrap') | .find('.sdt_wrap') | ||
.stop(true) | .stop(true) | ||
- | .animate({'top':'94px'}, | + | .animate({'top':'94px'},400,'easeOutBack') |
.andSelf() | .andSelf() | ||
.find('.sdt_active') | .find('.sdt_active') | ||
Line 242: | Line 242: | ||
if($elem.parent().children().length == $elem.index()+1) | if($elem.parent().children().length == $elem.index()+1) | ||
left = '-124px'; | left = '-124px'; | ||
- | $sub_menu.show().animate({'left':left}, | + | $sub_menu.show().animate({'left':left},300); |
} | } | ||
}); | }); | ||
Line 249: | Line 249: | ||
var $sub_menu = $elem.find('.sdt_box'); | var $sub_menu = $elem.find('.sdt_box'); | ||
if($sub_menu.length) | if($sub_menu.length) | ||
- | $sub_menu.hide().css('left',' | + | $sub_menu.hide().css('left','-10px'); |
$elem.find('.sdt_active') | $elem.find('.sdt_active') |
Revision as of 11:46, 27 July 2011