Português
<HTML XMLNS:myMenu> <?IMPORT namespace="myMenu" implementation="/upfiles/20050620/menu1.htc" /> <HEAD></HEAD> <SCRIPT> function doFunction(){ // Recupera o resultado do objeto de evento criado em menu.htc. var x = evento.resultado; // Muda o valor do resultado. switch(x){ case "picimage": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/5.html"; quebrar; caso "mouseevent": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/52.html"; quebrar; caso "timedate": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/51.html"; quebrar; caso "photoshopplug": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/54.html"; quebrar; caso "webmake": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/3.html"; quebrar; caso "webProcedure": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/6.html"; quebrar; caso "aspcode": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/7.html"; quebrar; caso "flashcode": document.all.oFrame.src = "http://www.downcodes.com/htmldata/sort/41.html"; quebrar; padrão: // Não faça nada. quebrar; } } </SCRIPT> <BODY style="font-family:verdana; font-size:70%"> <div style="padding:10px; background:#ffffff; border:1px início #cccccc; largura:500px; "><myMenu:menu id="javascript" onsubmenu_click="doFunction()" >网页特效<myMenu:menu id="picimage">图形图像</myMenu:menu> <myMenu:menu id="mouseevent">鼠标事件</myMenu:menu> <myMenu:menu id="timedate">时间日期</myMenu:menu></myMenu:menu><myMenu:menu id="plug" onsubmenu_click="doFunction()">网页特效<myMenu:menu id="photoshopplug">文字特效</myMenu:menu></myMenu:menu><myMenu:menu id="study" onsubmenu_click="doFunction()">网络学院 <myMenu:menu id=" webmake">网页制作</myMenu:menu> <myMenu:menu id="webProcedure">网络编程</myMenu:menu></myMenu:menu><myMenu:menu id="download" onsubmenu_click="doFunction() ">下载基地 <myMenu:menu id="aspcode">书籍教程下载</myMenu:menu> <myMenu:menu id="flashcode">FLASH源码下载 </myMenu:menu></myMenu:menu> <Iframe id="oFrame" src="http://www.downcodes.com" width="100%" height="350px" style="border: 1px preto sólido;"></iframe></div>