Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 37: Line 37:
$(function() {
$(function() {
// Initialize history plugin.
// Initialize history plugin.
-
$.history.init(historyCallback);
+
$.history.init(pageload);
rewriteLinks($("#navlist"));
rewriteLinks($("#navlist"));
Line 82: Line 82:
}
}
-
function historyCallback(hash) {
+
function pageload(hash) {
alert('historyCallback: ' + hash);
alert('historyCallback: ' + hash);
// hash doesn't contain the first # character.
// hash doesn't contain the first # character.

Revision as of 13:24, 22 July 2010