Team:TU Delft/test
From 2010.igem.org
(Difference between revisions)
Line 123: | Line 123: | ||
var url = wgServer + "/Team:TU_Delft/" + page + "?action=render"; | var url = wgServer + "/Team:TU_Delft/" + page + "?action=render"; | ||
$(window).trigger('page_close'); | $(window).trigger('page_close'); | ||
- | $("# | + | |
+ | $("#TUD-loading-panel").show(); | ||
var processPage = function(next) { | var processPage = function(next) { | ||
Line 133: | Line 134: | ||
$.get(url, function(data) { | $.get(url, function(data) { | ||
- | + | // $("#iGEM_TU_Delft_container").fadeOut(200); | |
+ | $("#iGEM_TU_Delft_container").html(data).queue(processPage); | ||
buildBreadCrumbTrail(page); | buildBreadCrumbTrail(page); | ||
Cufon.replace('h2'); // Works without a selector engine | Cufon.replace('h2'); // Works without a selector engine | ||
Line 139: | Line 141: | ||
Cufon.replace('#sub1'); // Requires a selector engine for IE 6-7, see above | Cufon.replace('#sub1'); // Requires a selector engine for IE 6-7, see above | ||
$("tr:nth-child(odd)").addClass("odd"); | $("tr:nth-child(odd)").addClass("odd"); | ||
+ | |||
+ | $("#TUD-loading-panel").hide(); | ||
}); | }); | ||
} | } | ||
Line 453: | Line 457: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
- | + | display:none; | |
} | } | ||
Line 546: | Line 550: | ||
<div id="TUD-loading-panel-logo"> | <div id="TUD-loading-panel-logo"> | ||
<!-- yes im using center --> | <!-- yes im using center --> | ||
- | <img src="https://static.igem.org/mediawiki/2010/d/d8/TUDelft_2010_AlkanivoreAnimated.gif"></img> | + | <center><img src="https://static.igem.org/mediawiki/2010/d/d8/TUDelft_2010_AlkanivoreAnimated.gif"></img></center> |
</div>Loading... | </div>Loading... | ||
</div> | </div> |