Home  >  Article  >  Web Front-end  >  Super simple drop-down menu made with JS CSS_javascript skills

Super simple drop-down menu made with JS CSS_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:12:431206browse

先看效果:
Super simple drop-down menu made with JS CSS_javascript skills 
代码:

复制代码 代码如下:



Good Test
<script> <br>function showSubMenu(SubMenu) { <br>document.getElementById(SubMenu).style.display = "inline"; <br>} <br>function HideSubMenu(SubMenu) { <br>document.getElementById(SubMenu).style.display = "none"; <br>} <br></script>












Menu1




Menu2




Menu3




Menu4







Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn