Template:TU-header3

From 2011.igem.org

(Difference between revisions)
m
m
Line 225: Line 225:
.stop(true)
.stop(true)
.animate({
.animate({
-
'width':'140px',
+
'width':'124px',
-
'height':'140px',
+
'height':'124px',
'left':'0px'
'left':'0px'
},400,'easeOutBack')
},400,'easeOutBack')
Line 232: Line 232:
.find('.sdt_wrap')
.find('.sdt_wrap')
    .stop(true)
    .stop(true)
-
.animate({'top':'140px'},500,'easeOutBack')
+
.animate({'top':'125px'},500,'easeOutBack')
.andSelf()
.andSelf()
.find('.sdt_active')
.find('.sdt_active')
    .stop(true)
    .stop(true)
-
.animate({'height':'140px'},300,function(){
+
.animate({'height':'125px'},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 = '140px';
+
var left = '125px';
if($elem.parent().children().length == $elem.index()+1)
if($elem.parent().children().length == $elem.index()+1)
-
left = '-140px';
+
left = '-125px';
$sub_menu.show().animate({'left':left},200);
$sub_menu.show().animate({'left':left},200);
}
}

Revision as of 19:41, 25 July 2011



TUDelft Logo2