Template:INSA-Lyon/menuA

From 2011.igem.org

(Difference between revisions)
Line 68: Line 68:
<script type="text/javascript">
<script type="text/javascript">
-
window.onload = montre('submenu1');
+
window.onload = montre('submenu0');
var opened = false;
var opened = false;
   
   
function montre(id) {
function montre(id) {
-
   document.getElementById('submenu1').style.display='none';
+
   document.getElementById('submenu0').style.display='none';
   var d = document.getElementById(id);
   var d = document.getElementById(id);
   if (d) {
   if (d) {
Line 89: Line 89:
<div id="menu">
<div id="menu">
   <ul class="niveau1">  
   <ul class="niveau1">  
-
     <li><a href="/Team:Lyon-INSA-ENS" title="go to home">Home</a></li>  
+
     <li id="submenu0"><a href="/Team:Lyon-INSA-ENS" title="go to home">Home</a></li>  
     <li class="sousmenu" onclick="javascript:montre('submenu1');return false;"><a href="/Team:Lyon-INSA-ENS/Team" title="go to about us">About us</a>  
     <li class="sousmenu" onclick="javascript:montre('submenu1');return false;"><a href="/Team:Lyon-INSA-ENS/Team" title="go to about us">About us</a>  
         <ul id="submenu1" style='display:none;'>
         <ul id="submenu1" style='display:none;'>

Revision as of 12:01, 10 May 2011