Team:Evry/template.js

From 2013.igem.org

(Difference between revisions)
Line 13: Line 13:
}
}
-
function writeHeader(lang)
+
function writeHeader()
{
{
   document.write('<header class="top-section"');
   document.write('<header class="top-section"');
Line 21: Line 21:
   document.write('<div id="evry_banner"><img src="https://static.igem.org/mediawiki/2013/d/d4/Provisory_ban.jpg" width=580px USEMAP="#secretlink"><map name=secretlink><AREA NAME="guide" SHAPE="circle" COORDS="410,36,2" HREF="https://2013.igem.org/Team:Evry/wiki-guidelines" target="_blank"><AREA NAME="SAV" SHAPE="circle" COORDS="195,100,2" HREF="https://2013.igem.org/Team:Evry/SAVwiki" target="_blank"></map></div>');
   document.write('<div id="evry_banner"><img src="https://static.igem.org/mediawiki/2013/d/d4/Provisory_ban.jpg" width=580px USEMAP="#secretlink"><map name=secretlink><AREA NAME="guide" SHAPE="circle" COORDS="410,36,2" HREF="https://2013.igem.org/Team:Evry/wiki-guidelines" target="_blank"><AREA NAME="SAV" SHAPE="circle" COORDS="195,100,2" HREF="https://2013.igem.org/Team:Evry/SAVwiki" target="_blank"></map></div>');
-
if(lang==0) /*English menu*/
 
-
{
 
   document.write('<div id="menu_evry2012">');
   document.write('<div id="menu_evry2012">');
   document.write('<ul id="menu_list_evry2012">');
   document.write('<ul id="menu_list_evry2012">');
Line 50: Line 48:
   document.write('</ul>');
   document.write('</ul>');
   document.write('</div>');
   document.write('</div>');
-
}
 
-
else if(lang==1)
 
-
{
 
-
  document.write('<div id="menu_evry2012">');
 
-
  document.write('<ul id="menu_list_evry2012">');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:50px"><a href="https://2013.igem.org/Team:Evry/Home">Home</a>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:70px"><a href="https://2013.igem.org/Team:Evry/Equipe">L'équipe</a>');
 
-
  document.write('<ul class="menu_list_evry2012">');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/NotreEquipe">Nous</a>');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://igem.org/Team.cgi?year=2013&team_name=Evry">Profil</a>');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/Attrib" >Attributions</a>'); 
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/Remerciements" >Remerciements</a>');
 
-
  document.write('</ul>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:110px"><a href="https://2013.igem.org/Team:Evry/Projet">Le Projet</a>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:80px"><a href="https://2013.igem.org/Team:Evry/Modelisation">Modélisation</a>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:110px"><a href="https://2013.igem.org/Team:Evry/PratiqueHumaine">Application Social</a>');
 
-
  document.write('<ul class="menu_list_evry2012">');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/Philosophie">Philosophie</a>');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/Seminaire">Séminaire sur l'hémochromatose</a>');
 
-
  document.write('</ul>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:70px"><a href="https://2013.igem.org/Team:Evry/Sécurité">Sécurité</a>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:90px"><a href="https://2013.igem.org/Team:Evry/Ressource">Ressources</a>');
 
-
  document.write('<ul class="menu_list_evry2012">');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/Notebook/s6">Bloc-notes</a>');
 
-
  document.write('<li class="menu_list_item_evry2012"><a href="https://2013.igem.org/Team:Evry/Parts">Parts</a>');
 
-
  document.write('</ul>');
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:90px"><a href="https://2013.igem.org/Team:Evry/Sponsors_vf">Sponsors</a>'); 
 
-
  document.write('<li class="menu_list_item_evry2012" style="width:40px;"><a style="padding:0px;padding-left:3px;" href="https://2013.igem.org/Main_Page" title="To iGEM 2013 Main Page" target="_blank"><img src="https://static.igem.org/mediawiki/2012/e/e6/IGEM_basic_Logo_stylized_small.jpg"></a>');
 
-
  document.write('</ul>');
 
-
  document.write('</div>');
 
-
}
 
-
   document.write('</header>')
+
   document.write('</header>');
-
   document.write('<div id="maincontainer_evry2012">')
+
   document.write('<div id="maincontainer_evry2012">');
}
}

Revision as of 07:28, 28 July 2013