Team:TU Delft/pieter/loadtest

From 2010.igem.org

(Difference between revisions)
Line 22: Line 22:
// hash doesn't contain the first # character.
// hash doesn't contain the first # character.
if(hash) {
if(hash) {
-
var url = wgServer + "/Team:TU_Delft/pieter/loadtest/" +hash+ "?action=render";
+
var url = wgServer + "/Team:TU_Delft/pieter/loadtest/" +hash+ "?action=render";
-
$.get(url, function(data) {
+
$.get(url, function(data) {
-
$("#load").html(data).fadeIn(200);
+
$("#load").html(data).fadeIn(200);
-
rewriteLinks($("#load"));
+
rewriteLinks($("#load"));
-
});
+
});
//$("#load").load(wgServer+"/Team:TU_Delft/pieter/loadtest/"+hash+"?action=render");
//$("#load").load(wgServer+"/Team:TU_Delft/pieter/loadtest/"+hash+"?action=render");
} else {
} else {

Revision as of 14:07, 22 July 2010

Ajax load
load 1
load 2
load 3


Loaded html: