Team:TU Delft/header
From 2010.igem.org
(Difference between revisions)
Line 46: | Line 46: | ||
function () { $(this).removeClass("hover"); } | function () { $(this).removeClass("hover"); } | ||
); | ); | ||
- | |||
- | |||
- | |||
- | |||
}); | }); | ||
Line 77: | Line 73: | ||
function historyCallback() { | function historyCallback() { | ||
var hash = location.hash; | var hash = location.hash; | ||
- | |||
if(hash) { | if(hash) { | ||
hash = hash.substring(1); | hash = hash.substring(1); | ||
if(hash.split('=').length == 1) { | if(hash.split('=').length == 1) { | ||
- | |||
// loadPage(hash); | // loadPage(hash); | ||
} else { | } else { | ||
var kvmap = splitHash(hash); | var kvmap = splitHash(hash); | ||
if (kvmap.page) { | if (kvmap.page) { | ||
- | |||
loadPage(kvmap.page); | loadPage(kvmap.page); | ||
} | } |
Revision as of 18:24, 22 July 2010