Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 39: Line 39:
$.history.init(historyCallback);
$.history.init(historyCallback);
rewriteLinks($("#navlist"));
rewriteLinks($("#navlist"));
-
 
-
// if(activePage == "home") {
 
-
// $.history.load("pages/home");
 
-
// rewriteLinks($("#load"));
 
-
// }
 
// set onlick event for menu buttons
// set onlick event for menu buttons
Line 83: Line 78:
function historyCallback(hash) {
function historyCallback(hash) {
-
alert('historyCallback: ' + hash);
+
//alert('historyCallback: ' + hash);
// hash doesn't contain the first # character.
// hash doesn't contain the first # character.
if(hash) {
if(hash) {

Revision as of 13:32, 22 July 2010