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")); | ||
- | |||
} | } | ||
Line 472: | Line 471: | ||
loadText($sub_menu.find('.sub_menu_link')); | loadText($sub_menu.find('.sub_menu_link')); | ||
- | |||
Line 495: | Line 493: | ||
$(".sub_menu_link").bind('click.Menu', function(){ | $(".sub_menu_link").bind('click.Menu', function(){ | ||
loadText(this); | loadText(this); | ||
- | + | ||
return false; | return false; | ||
Line 527: | Line 525: | ||
$('#textExt').stop() | $('#textExt').stop() | ||
.animate({opacity: '1'}, 1400, function(){}); | .animate({opacity: '1'}, 1400, function(){}); | ||
- | + | $('#textExt'). | |
- | + | ||
/*Bind function recursivily in the links of the external*/ | /*Bind function recursivily in the links of the external*/ | ||
Line 544: | Line 541: | ||
$('#external #inwiki a').bind('click.Menu', function(){ | $('#external #inwiki a').bind('click.Menu', function(){ | ||
loadText(this); | loadText(this); | ||
- | |||
return false; | return false; | ||
}); | }); | ||
Line 554: | Line 550: | ||
});*/ | });*/ | ||
+ | animate({scrollTop: $('#textExt').offset().top -100 }, 'slow'); | ||
}); | }); | ||
Revision as of 04:06, 28 October 2013