Template:INSA-Lyon/menuA
From 2011.igem.org
(Difference between revisions)
Line 69: | Line 69: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | |||
function afficheMenu(obj){ | function afficheMenu(obj){ | ||
- | |||
var idMenu = obj.id; | var idMenu = obj.id; | ||
var idSousMenu = 'sous' + idMenu; | var idSousMenu = 'sous' + idMenu; | ||
Line 85: | Line 85: | ||
sousMenu.style.display = "none"; | sousMenu.style.display = "none"; | ||
} | } | ||
- | |||
} | } | ||
- | |||
- | |||
</script> | </script> | ||
<div id="menu"> | <div id="menu"> | ||
- | <ul class="niveau1"> | + | <ul class="niveau1" onclick="afficheMenu(this)"> |
<li><a href="/Team:Lyon-INSA-ENS" title="go to home">Home</a></li> | <li><a href="/Team:Lyon-INSA-ENS" title="go to home">Home</a></li> | ||
Revision as of 13:50, 9 May 2011