Difference between revisions of "Team:Pasteur Paris/Notebook"

Line 40: Line 40:
 
function showALL(){
 
function showALL(){
 
   //Solution peu propre.
 
   //Solution peu propre.
   //TODO: foreach with querySelectotAll
+
   //TODO: foreach with querySelectorAll
 
   document.getElementById('week1').style.display = "inline";
 
   document.getElementById('week1').style.display = "inline";
 
   document.getElementById('week2').style.display = "inline";
 
   document.getElementById('week2').style.display = "inline";
Line 56: Line 56:
 
   document.getElementById('week14').style.display = "inline";
 
   document.getElementById('week14').style.display = "inline";
 
   document.getElementById('week15').style.display = "inline";
 
   document.getElementById('week15').style.display = "inline";
 +
}
 +
//Function for bubbles help at mouse over items.
 +
function Help(text,Lnx,Lny) {
 +
  //var n = ((texte.length)/45)+2;
 +
  n=10;
 +
  PreBule="<textarea cols=45 rows="+n+" id='note' name='Texte' readonly>"+texte+"</textarea>";
 +
  Lnx=Lnx+100;
 +
  Lny=Lny+2;
 +
  if (document.layers) {
 +
    document.layers["Help"].document.write(PreBule);
 +
    document.layers["Help"].document.close();
 +
    document.layers["Help"].top=Lny;
 +
    document.layers["Help"].left=Lnx;
 +
    document.layers["Help"].visibility="show";
 +
  }
 +
  if (document.all) {
 +
    Help.innerHTML=PreBule;
 +
    document.all["Help"].style.top=Lny;
 +
    document.all["Help"].style.left=Lnx;
 +
    document.all["Help"].style.visibility="visible";
 +
  }
 +
  else if (document.getElementById) {
 +
    document.getElementById("Help").innerHTML=PreBule;
 +
    document.getElementById("Help").style.top=Lny;
 +
    document.getElementById("Help").style.left=Lnx;
 +
    document.getElementById("Help").style.visibility="visible";
 +
  }
 +
}
 +
function EfaceHelp() {
 +
        if (document.layers) {document.layers["Help"].visibility="hide";}
 +
        if (document.all) {document.all["Help"].style.visibility="hidden";}
 +
        else if (document.getElementById){document.getElementById("Help").style.visibility="hidden";}
 
}
 
}
 
</script>
 
</script>
Line 133: Line 165:
 
       <div id="week1">
 
       <div id="week1">
 
       <i>Tags:</i>
 
       <i>Tags:</i>
         <div class="row"">
+
         <div class="row">
 
           <a href="https://2015.igem.org/Team:Pasteur_Paris/Week_1"><div class="col-lg-12" id="week_1" style=" background-image:url(https://static.igem.org/mediawiki/2015/4/45/Photo_week_1_iGEM_Pasteur.JPG)">  Week 1 <p>06/01 - 06/05</p></div>
 
           <a href="https://2015.igem.org/Team:Pasteur_Paris/Week_1"><div class="col-lg-12" id="week_1" style=" background-image:url(https://static.igem.org/mediawiki/2015/4/45/Photo_week_1_iGEM_Pasteur.JPG)">  Week 1 <p>06/01 - 06/05</p></div>
 
         </div></a>
 
         </div></a>

Revision as of 08:09, 8 September 2015

Notebook

Search for a content: