Team:TU Delft/header2

From 2010.igem.org

(Difference between revisions)
Line 70: Line 70:
}
}
return kvmap;
return kvmap;
 +
}
 +
 +
function setHash(page, kvmap) {
 +
  var str = '#page=' + page;
 +
  var i;
 +
  for(i in kvmap) {
 +
    str += '&' + i + '=' + kvmap[i];
 +
  }
 +
  location.hash = str;
}
}

Revision as of 12:40, 24 July 2010