Team:Lyon-INSA/notebook

From 2012.igem.org

(Difference between revisions)
Line 52: Line 52:
$(".diapoContent").html("");
$(".diapoContent").html("");
         $(".textContent").html("");
         $(".textContent").html("");
-
if (window.XMLHttpRequest)
+
        var xmlDoc=document.getElementById("xmldata")
-
  {// code for IE7+, Firefox, Chrome, Opera, Safari
+
-
xmlhttp=new XMLHttpRequest();
+
-
  }
+
-
else
+
-
  {// code for IE6, IE5
+
-
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
+
-
  }
+
-
xmlhttp.open("GET","journal.xml",false);
+
-
xmlhttp.send();
+
-
xmlDoc=xmlhttp.responseXML;
+
var newDay=day+1;
var newDay=day+1;
var x=xmlDoc.getElementsByTagName("month");
var x=xmlDoc.getElementsByTagName("month");
Line 107: Line 97:
$(".diapoContent").html("");
$(".diapoContent").html("");
         $(".textContent").html("");
         $(".textContent").html("");
-
if (window.XMLHttpRequest)
+
        var xmlDoc=document.getElementById("xmldata")
-
  {// code for IE7+, Firefox, Chrome, Opera, Safari
+
-
  xmlhttp=new XMLHttpRequest();
+
-
  }
+
-
else
+
-
  {// code for IE6, IE5
+
-
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
+
-
  }
+
-
xmlhttp.open("GET","journal.xml",false);
+
-
xmlhttp.send();
+
-
xmlDoc=xmlhttp.responseXML;
+
var newDay=day-1;
var newDay=day-1;
var x=xmlDoc.getElementsByTagName("month");
var x=xmlDoc.getElementsByTagName("month");

Revision as of 18:09, 18 August 2012

June
July
August
September
October