Warning: mkdir(): Permission denied in /data/pub/txcms/system/lib/Fso.php on line 151
天下站长网 网页特效 跨框架下拉菜单 - powered by andsky.com
投递文章 投稿指南 RSS订阅 站点通告:网站升级,部分数据正在导入之中,请等待..
您的位置:首页 >> 网页设计 >> 网页特效

跨框架下拉菜单

发布时间:2005-12-11 06:23:49  文章来源:  浏览次数:3997  
承德互联 专业的unix(freebsd)主机 无限子域 BGP多线 自主开发面版 更快 更稳 更安全

 

<HTML XMLNS:myMenu>
<?IMPORT namespace="myMenu" implementation="study/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.smallrain.net/javascript.asp?type=图形图像";
            break;
        case "mouseevent":
            document.all.oFrame.src = "http://www.smallrain.net/javascript.asp?type=鼠标事件";
            break;
        case "timedate":
            document.all.oFrame.src = "http://www.smallrain.net/javascript.asp?type=时间日期";
            break;
        case "photoshopplug":
            document.all.oFrame.src = "http://www.smallrain.net/plug.asp?type=PhotoShop插件";
            break;
        case "webmake":
            document.all.oFrame.src = "http://www.smallrain.net/study.asp?type=网页制作";
            break;
        case "webProcedure":
            document.all.oFrame.src = "http://www.smallrain.net/study.asp?type=网络编程";
            break;
        case "aspcode":
            document.all.oFrame.src = "http://www.smallrain.net/download.asp?type=ASP源码下载";
            break;
        case "flashcode":
            document.all.oFrame.src = "http://www.smallrain.net/download.asp?type=FLASH源码下载";
            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">Photoshop插件</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">ASP源码下载</myMenu:menu> <myMenu:menu id="flashcode">FLASH源码下载 </myMenu:menu></myMenu:menu>
<Iframe id="oFrame" src="http://www.smallrain.net" width="100%" height="350px" style="border: 1px solid black;"></iframe></div>

作者:admin
与好友一起分享精彩内容:

收藏到QQ书签】【返回顶部】【返回首页
关于站点 - 广告服务 - 联系我们 - 版权隐私 - 免责声明 - 程序支持 - 网站地图 - 意见反馈 - 返回顶部