Team:Buenos Aires

From 2013.igem.org

(Difference between revisions)
Line 445: Line 445:
openSubMenu($item, $sub_menu, el_image);
openSubMenu($item, $sub_menu, el_image);
loadText($("#Summary"));
loadText($("#Summary"));
 +
$('#textExt').animate({scrollTop: $('#textExt').offset().top -100 }, 'slow');
}
}
Line 471: Line 472:
                                                                         loadText($sub_menu.find('.sub_menu_link'));
                                                                         loadText($sub_menu.find('.sub_menu_link'));
 +
$('#textExt').animate({scrollTop: $('#textExt').offset().top -100 }, 'slow');
Line 493: Line 495:
$(".sub_menu_link").bind('click.Menu', function(){
$(".sub_menu_link").bind('click.Menu', function(){
loadText(this);
loadText(this);
-
 
+
$('#textExt').animate({scrollTop: $('#textExt').offset().top -100 }, 'slow');
return false;
return false;
Line 525: Line 527:
$('#textExt').stop()
$('#textExt').stop()
.animate({opacity: '1'}, 1400, function(){});  
.animate({opacity: '1'}, 1400, function(){});  
-
                                                         $('#textExt').                                                  animate({scrollTop: $('#textExt').offset().top -100 }, 'slow');
+
                                                          
-
$('#textExt').stop();
+
 
                                                          
                                                          
/*Bind function recursivily in the links of the external*/
/*Bind function recursivily in the links of the external*/
Line 542: Line 544:
$('#external #inwiki a').bind('click.Menu', function(){
$('#external #inwiki a').bind('click.Menu', function(){
loadText(this);
loadText(this);
 +
$('#textExt').animate({scrollTop: $('#textExt').offset().top -100 }, 'slow');
return false;
return false;
});
});

Revision as of 04:04, 28 October 2013

iGem Buenos Aires

Background
Loading...

Buenos Aires

Loading...
Hola