Tip: you can modify some code before running
<html><head><title>Click the link display menu</title></head><body background="08.gif"><style>.iewrap1{height:30px;}</style><script language="JavaScript">Var index = 100 function dropit2 (whichone) {if (window. themenu & themenu. id! = Whichone. id) themenu. style. visibility = "hidden" themenu = whichoneif (document. all) {themenu. style. left = document. body. scrollLeft + event. ClientX-event.offsetX + 5<!--设置弹出菜单横向距离-->Themenu. style. top = document. body. scrollTop + event. ClientY-event.offsetY + 10<!--设置弹出菜单纵向距离-->If (themenu. style. visibility = "hidden") {themenu. style. visibility = "visible" themenu. style. index = index ++} else {hidemenu ()}}}</script><ilayer height=35px><layer visibility=show>[JavaScript Chinese website]</layer></ilayer><br><div id=dropmenu0 ><script language="JavaScript">Var menu = new Array () menu [0] ='<font color="#ffff00">Www.111cn.net</font><br>'Menu [1] ='<font color="#ffff00">JavaScript software</font><br>'Menu [2] ='<font color="#ffff00">JavaScript Forum</font><br>'If (document. all) dropmenu0.style. padding = "4px" for (I = 0; I<menu.length;i++)document.write(menu[i])</script></div></body></html>
Tip: you can modify some code before running