<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    空間站

    北極心空

      BlogJava :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
      15 Posts :: 393 Stories :: 160 Comments :: 0 Trackbacks
    <HTML>
    <HEAD>
    <TITLE></TITLE>
    <META content="text/html; charset=gb2312" http-equiv=Content-Type>
    <META content="MSHTML 5.00.2920.0" name=GENERATOR>
    <script>
    <!--
    // menu object
    function contextMenu()
    {
    this.items = new Array();

    this.addItem = function (item)
    {
    this.items[this.items.length] = item;
    }

    this.show = function (oDoc)
    {
    var strShow = "";
    var i;

    strShow = "<div id=\"rightmenu\" style=\"BACKGROUND-COLOR: #ffffff; BORDER: #000000 1px solid; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden; Z-INDEX: 10\">";
    strShow += "<table border=\"0\" height=\"";
    strShow += this.items.length * 20;
    strShow += "\" cellpadding=\"0\" cellspacing=\"0\">";
    strShow += "<tr height=\"3\"><td bgcolor=\"#d0d0ce\" width=\"2\"></td><td>";
    strShow += "<table border=\"0\" width=\"100%\" height=\"100%\" cellpadding=0 cellspacing=0 bgcolor=\"#ffffff\">";
    strShow += "<tr><td bgcolor=\"#d0d0ce\" width=\"23\"></td><td><img src=\" \" height=\"1\" border=\"0\"></td></tr></table>";
    strShow += "</td><td width=\"2\"></td></tr>";
    strShow += "<tr><td bgcolor=\"#d0d0ce\"></td><td>";
    strShow += "<table border=\"0\" width=\"100%\" height=\"100%\" cellpadding=3 cellspacing=0 bgcolor=\"#ffffff\">";
    oDoc.write(strShow);
    for(i=0; i<this.items.length; i++)
    {
    this.items[i].show(oDoc);
    }
    strShow = "</table></td><td></td></tr>";
    strShow += "<tr height=\"3\"><td bgcolor=\"#d0d0ce\"></td><td>";
    strShow += "<table border=\"0\" width=\"100%\" height=\"100%\" cellpadding=0 cellspacing=0 bgcolor=\"#ffffff\">";
    strShow += "<tr><td bgcolor=\"#d0d0ce\" width=\"23\"></td><td><img src=\" \" height=\"1\" border=\"0\"></td></tr></table>";
    strShow += "</td><td></td></tr>";
    strShow += "</table></div>\n";
    oDoc.write(strShow);
    }
    }

    // menu Item object
    function contextItem(text, icon, cmd, type)
    {
    this.text = text ? text : "";
    this.icon = icon ? icon : "";
    this.cmd = cmd ? cmd : "";
    this.type = type ? type : "menu";

    this.show = function (oDoc)
    {
    var strShow = "";

    if(this.type == "menu")
    {
    strShow += "<tr ";
    strShow += " 'on');\" ";
    strShow += " 'out');\" ";
    strShow += "onclick=\"";
    strShow += this.cmd;
    strShow += "\">";
    strShow += "<td class=\"ltdexit\" width=\"16\">";
    if (this.icon == "")
    strShow += "&nbsp;";
    else {
    strShow += "<img border=\"0\" src=\"";
    strShow += this.icon;
    strShow += "\" width=\"16\" height=\"16\" style=\"POSITION: relative\"></img>";
    }
    strShow += "</td><td class=\"mtdexit\">";
    strShow += this.text;
    strShow += "</td><td class=\"rtdexit\" width=\"5\">&nbsp;</td></tr>";
    }
    else if (this.type == "separator")
    {
    strShow += "<tr><td class=\"ltdexit\">&nbsp;</td>";
    strShow += "<td class=\"mtdexit\" colspan=\"2\"><hr color=\"#000000\" size=\"1\"></td></tr>";
    }

    oDoc.write(strShow);
    }
    }

    function changeStyle(obj, cmd)
    {
    if(obj) try {
    var imgObj = obj.children(0).children(0);

    if(cmd == 'on') {
    obj.children(0).className = "ltdfocus";
    obj.children(1).className = "mtdfocus";
    obj.children(2).className = "rtdfocus";
    if(imgObj)
    {
    if(imgObj.tagName.toUpperCase() == "IMG")
    {
    imgObj.style.left = "-1px";
    imgObj.style.top = "-1px";
    }
    }
    }
    else if(cmd == 'out') {
    obj.children(0).className = "ltdexit";
    obj.children(1).className = "mtdexit";
    obj.children(2).className = "rtdexit";
    if(imgObj)
    {
    if(imgObj.tagName.toUpperCase() == "IMG")
    {
    imgObj.style.left = "0px";
    imgObj.style.top = "0px";
    }
    }
    }
    }
    catch (e) {}
    }

    function showMenu()
    {
    var x, y, w, h, ox, oy;

    x = event.clientX;
    y = event.clientY;

    var obj = document.getElementById("rightmenu");
    if (obj == null)
    return true;

    ox = document.body.clientWidth;
    oy = document.body.clientHeight;
    if(x > ox || y > oy)
    return false;
    w = obj.offsetWidth;
    h = obj.offsetHeight;
    if((x + w) > ox)
    x = x - w;
    if((y + h) > oy)
    y = y - h;

    obj.style.posLeft = x + document.body.scrollLeft;
    obj.style.posTop = y + document.body.scrollTop;
    obj.style.visibility = "visible";

    return false;
    }
    function hideMenu()
    {
    if(event.button == 0)
    {
    var obj = document.getElementById("rightmenu");
    if (obj == null)
    return true;
    obj.style.visibility = "hidden";
    obj.style.posLeft = 0;
    obj.style.posTop = 0;
    }
    }

    function writeStyle()
    {
    var strStyle = "";

    strStyle += "<STYLE type=text/css>";
    strStyle += "TABLE {Font-FAMILY: \"Tahoma\",\"Verdana\",\"宋體\"; FONT-SIZE: 9pt}";
    strStyle += ".mtdfocus {BACKGROUND-COLOR: #ccccff; BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid; CURSOR: hand}";
    strStyle += ".mtdexit {BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid}";
    strStyle += ".ltdfocus {BACKGROUND-COLOR: #ccccff; BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; CURSOR: hand}";
    strStyle += ".ltdexit {BACKGROUND-COLOR: #d0d0ce; BORDER-BOTTOM: #d0d0ce 1px solid; BORDER-TOP: #d0d0ce 1px solid; BORDER-LEFT: #d0d0ce 1px solid}";
    strStyle += ".rtdfocus {BACKGROUND-COLOR: #ccccff; BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid; CURSOR: hand}";
    strStyle += ".rtdexit {BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid}";
    strStyle += "</STYLE>";

    document.write(strStyle);
    }

    function makeMenu()
    {
    var myMenu, item;

    var homepage_cmd = "this.style.behavior='url(#default#homepage)';this.setHomePage('http://baby.mob8.cn/'); return false;";
    var favorate_cmd = "window.external.addFavorite('http://baby.mob8.cn','網(wǎng)頁(yè)教學(xué)網(wǎng)'); return false;";
    var viewcode_cmd = "window.location = 'view-source:' + window.location.href";

    myMenu = new contextMenu();

    item = new contextItem("返回主頁(yè)", "http://www.webjx.com/js/home.gif", "top.location='http://baby.mob8.cn/';", "menu");
    myMenu.addItem(item);

    item = new contextItem("設(shè)為主頁(yè)", "http://www.webjx.com/js/home.gif", homepage_cmd, "menu");
    myMenu.addItem(item);

    item = new contextItem("添加到收藏夾", "http://www.webjx.com/js/favadd.gif", favorate_cmd, "menu");
    myMenu.addItem(item);

    item = new contextItem("聯(lián)系作者", "http://www.webjx.com/js/mail.gif", "location.href='mailto:46235412@qq.com'", "menu");
    myMenu.addItem(item);

    item = new contextItem("", "", "", "separator");
    myMenu.addItem(item);

    item = new contextItem("察看源碼", "http://www.webjx.com/js/edit.gif", viewcode_cmd, "menu");
    myMenu.addItem(item);

    myMenu.show(this.document);

    delete item;
    delete myMenu;
    }

    function toggleMenu(isEnable)
    {
    if(isEnable)
    document.oncontextmenu = showMenu;
    else
    document.oncontextmenu = new function() {return true;};
    }

    writeStyle();
    makeMenu();
    document.onclick = hideMenu;
    document.oncontextmenu = showMenu;
    file://-->
    </script>

    </HEAD>
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
    <table border="0" width="100%" height="100%" cellpadding="0" cellspacing="3">
    <tr><td valign="top">
    <div id="docBoard" style="width: 100%">
    超酷的XP風(fēng)格的網(wǎng)頁(yè)右鍵菜單特效代碼http://baby.mob8.cn
    </div>
    </td>
    <td valign="top" align="right">
    <p><input type="checkbox" name="closerm" onclick="toggleMenu(!this.checked);">關(guān)閉右鍵菜單</p>
    </td>
    </tr>
    </table>
    </body>
    </HTML>
    posted on 2007-09-30 09:48 蘆葦 閱讀(4040) 評(píng)論(0)  編輯  收藏 所屬分類: HTML & Script
    主站蜘蛛池模板: 亚洲国产精品无码久久久久久曰 | 国产亚洲精品美女久久久| 亚洲国产精品日韩av不卡在线| 国产成人免费爽爽爽视频| 亚洲一久久久久久久久| 免费看片免费播放| 亚洲日韩一区二区一无码| 日韩成全视频观看免费观看高清| 亚洲精品9999久久久久无码| 国产一级一片免费播放i| 一进一出60分钟免费视频| 亚洲精品无码乱码成人| APP在线免费观看视频| 久久久无码精品亚洲日韩蜜臀浪潮 | 亚洲视频一区网站| 成人特黄a级毛片免费视频| 亚洲精品av无码喷奶水糖心| 亚洲精品国产综合久久一线| 成人免费777777被爆出| 久久亚洲日韩看片无码| 久久精品免费一区二区喷潮| 国产午夜亚洲精品不卡免下载| 国产精品亚洲美女久久久| 免费观看在线禁片| 亚洲av日韩av无码av| 国产一级淫片a免费播放口之 | 四虎影视免费永久在线观看| AAAAA级少妇高潮大片免费看| 亚洲的天堂av无码| 四虎成人精品在永久免费| 最近2019中文免费字幕在线观看| 亚洲a级片在线观看| 亚洲七七久久精品中文国产| 2019中文字幕免费电影在线播放| 亚洲精品无AMM毛片| 亚洲理论电影在线观看| 最近中文字幕免费mv视频8| 国产免费福利体检区久久| 亚洲国产成人精品青青草原| 免费人成视网站在线观看不卡| 一级毛片免费播放|