Team:Buenos Aires/Pruebas
From 2013.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
<meta name="keywords" content="biosensing, igem, buenos aires, UBA, arsenic"/> | <meta name="keywords" content="biosensing, igem, buenos aires, UBA, arsenic"/> | ||
<link rel="stylesheet" type="text/css" rel="stylesheet" href="https://2013.igem.org/Team:Buenos_Aires/css/style.css?action=raw&ctype=text/css" /> | <link rel="stylesheet" type="text/css" rel="stylesheet" href="https://2013.igem.org/Team:Buenos_Aires/css/style.css?action=raw&ctype=text/css" /> | ||
+ | |||
+ | |||
<link href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:regular,bold" rel="stylesheet" type="text/css" /> | <link href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:regular,bold" rel="stylesheet" type="text/css" /> | ||
Line 311: | Line 313: | ||
/* all other text display is none*/ | /* all other text display is none*/ | ||
$('.texto').css({opacity:'0.0',display: 'none'}); | $('.texto').css({opacity:'0.0',display: 'none'}); | ||
- | + | ||
- | + | ||
loadDiv(this); | loadDiv(this); | ||
- | + | ||
$('#text' + currentId).css({display: 'block'}); | $('#text' + currentId).css({display: 'block'}); | ||
$('#text' + currentId).stop() | $('#text' + currentId).stop() | ||
Line 335: | Line 336: | ||
return $.Deferred( | return $.Deferred( | ||
function(dfd) { | function(dfd) { | ||
- | + | new_link = $(link).attr('href')+ " #cargado"; | |
/* show text: */ | /* show text: */ | ||
$text_loading.show(); | $text_loading.show(); | ||
Line 343: | Line 344: | ||
}); | }); | ||
$('#textObj').load(new_link); | $('#textObj').load(new_link); | ||
- | |||
} | } | ||
- | ).promise(); | + | ).promise(); //devuelve el objeto cuando todas las animaciones terminaron |
}, | }, | ||
Revision as of 15:33, 5 June 2013