Template:Team:Paris Saclay/incl menu
From 2013.igem.org
(Difference between revisions)
(var ke) |
(var ke) |
||
Line 23: | Line 23: | ||
{ | { | ||
mnu.style.display= "block"; | mnu.style.display= "block"; | ||
- | |||
} | } | ||
else //a un parent | else //a un parent | ||
{ | { | ||
mnu.style.display= "none"; | mnu.style.display= "none"; | ||
+ | parent.addEventListener("mouseover", function(){mnu.style.display="block"}, false); | ||
} | } | ||
} | } |
Revision as of 23:33, 23 July 2013