Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 64: Line 64:
}
}
return kvmap;
return kvmap;
 +
}
 +
 +
function processPage()
 +
{
 +
if(isDefined('page_init'))
 +
page_init();
 +
rewriteLinks($("#load"));
}
}
Line 75: Line 82:
$.get(url, function(data) {
$.get(url, function(data) {
-
$("#load").html(data).fadeIn(200).queue(function() {
+
$("#load").html(data).fadeIn(200).queue(processPage);
-
if(isDefined('page_init')) page_init();
+
-
rewriteLinks($("#load"));
+
-
});
+
});
});
}
}

Revision as of 22:10, 22 July 2010