Team:Lyon-INSA/notebook

From 2012.igem.org

(Difference between revisions)
Line 9: Line 9:
$("#p-logo").find("img").attr("src","none");
$("#p-logo").find("img").attr("src","none");
 +
 +
$(".month").click(function(){
 +
selectMonth($(this).text(),"asc");
 +
});
});
});
-
 
-
 
-
 
function selectMonth(month_name,type)
function selectMonth(month_name,type)
Line 20: Line 21:
$(".diapoContent").html("");
$(".diapoContent").html("");
         $(".textContent").html("");
         $(".textContent").html("");
-
if (window.XMLHttpRequest)
+
 
-
  {// code for IE7+, Firefox, Chrome, Opera, Safari
+
        var xmlDoc=xmldata.XMLDocument.documentElement
-
  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 day=0;
         var day=0;
var x=xmlDoc.getElementsByTagName("month");
var x=xmlDoc.getElementsByTagName("month");

Revision as of 18:01, 18 August 2012

June
July
August
September
October