Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 86: Line 86:
if(hash) {
if(hash) {
if(hash.split('=').length == 1) {
if(hash.split('=').length == 1) {
-
alert('load hash as page' + hash);
+
alert('load hash as page: ' + hash);
loadPage(hash);
loadPage(hash);
} else {
} else {
    var kvmap = splitHash(hash);
    var kvmap = splitHash(hash);
if (kvmap.page) {
if (kvmap.page) {
-
alert('load hashmap.page' + kvmap.page);
+
alert('load hashmap.page: ' + kvmap.page);
loadPage(kvmap.page);
loadPage(kvmap.page);
} else if(kvmap.anchor)  {
} else if(kvmap.anchor)  {

Revision as of 12:59, 22 July 2010