Team:UT Dallas/page js

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
$.get('https://2013.igem.org/Team:UT_Dallas/'+res_id+'?action=raw&ctype=text/html', function(data)  
$.get('https://2013.igem.org/Team:UT_Dallas/'+res_id+'?action=raw&ctype=text/html', function(data)  
{
{
-
$('#result_space').html(data);
+
$('#result_space').fadeOut('slow', function() {
 +
$('#result_space').html(data);
 +
$('#result_space').fadeIn();
 +
});
 +
});
});
return false;
return false;
}
}

Revision as of 17:33, 7 September 2013

function show_info(res_id) { $.get('https://2013.igem.org/Team:UT_Dallas/'+res_id+'?action=raw&ctype=text/html', function(data) { $('#result_space').fadeOut('slow', function() { $('#result_space').html(data); $('#result_space').fadeIn(); });

}); return false; }