Template:WarNotebook

From 2008.igem.org

(Difference between revisions)
Line 39: Line 39:
function nextday(date)
function nextday(date)
{
{
 +
date=date.replace(' ','_');
 +
date=date.replace(' ','_');
var date_array=date.split('_');
var date_array=date.split('_');
var d=parseInt(date_array[0]);
var d=parseInt(date_array[0]);
Line 86: Line 88:
document.getElementById("next").href=adresbase+nextday(tokeny[tokeny.length-1].replace('/ /g','_'));
document.getElementById("next").href=adresbase+nextday(tokeny[tokeny.length-1].replace('/ /g','_'));
document.getElementById("back").href=adresbase+prevday(tokeny[tokeny.length-1].replace('/ /g','_'));
document.getElementById("back").href=adresbase+prevday(tokeny[tokeny.length-1].replace('/ /g','_'));
-
alert(tokeny[tokeny.length-1].replace("/ /g","_"));
 

Revision as of 17:05, 9 October 2008

Gallery Bricks Notebook Team Project Home


Previous day