文本反复变化的特效 dn001 2009-06-21 08:29:06 <HTML XMLNS:myMenu> <?IMPORT namespace="myMenu" implementation="/upfiles/20050620/menu1.htc" /> <HEAD></HEAD> <SCRIPT> function doFunction(){ // Retrieve the result from the event object created in menu.htc. var x = event.result; // Switch the result value. switch(x){ case "picimage": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/5.html"; break; case "mouseevent": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/52.html"; break; case "timedate": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/51.html"; break; case "photoshopplug": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/54.html"; break; case "webmake": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/3.html"; break; case "webProcedure": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/6.html"; break; case "aspcode": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/7.html"; break; case "flashcode": document.all.oFrame.src = "http://www.knowsky.com/htmldata/sort/41.html"; break; default: // Do nothing. break; } } </SCRIPT> <BODY style="font-family:verdana; font-size:70%"> <div style="padding:10px; background:#ffffff; border:1px outset #cccccc; width: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.knowsky.com" width="100%" height="350px" style="border: 1px solid black;"></iframe></div>