程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> name-幫忙看看為何不顯示管理 用戶顯示正常

name-幫忙看看為何不顯示管理 用戶顯示正常

編輯:編程綜合問答
幫忙看看為何不顯示管理 用戶顯示正常
function writerframe() {
    if (listmode == 0) {
        return;
    }
    if (this.r == null) return;
    if (this.r.document == null) return;
    this.r.document.open();
    this.r.document.writeln("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
    this.r.document.writeln("<link rel='stylesheet' href='"+portraiturl+"css/right.css' type='text/css' />");
    this.r.document.writeln("</head><body style='background-color: transparent;'>");
    this.r.document.writeln("    <script type=\"text/javascript\">");
    this.r.document.writeln("        function openShutManager(oSourceObj, oTargetObj, shutAble, oOpenTip, oShutTip) {");
    this.r.document.writeln("            var sourceObj = typeof oSourceObj == \"string\" ? document.getElementById(oSourceObj) : oSourceObj;");
    this.r.document.writeln("            var targetObj = typeof oTargetObj == \"string\" ? document.getElementById(oTargetObj) : oTargetObj;");
    this.r.document.writeln("            var openTip = oOpenTip || \"\";");
    this.r.document.writeln("            var shutTip = oShutTip || \"\";");
    this.r.document.writeln("            if (targetObj.style.display != \"none\") {");
    this.r.document.writeln("                if (shutAble) return;");
    this.r.document.writeln("                targetObj.style.display = \"none\";");
    this.r.document.writeln("                if (openTip && shutTip) {");
    this.r.document.writeln("                    sourceObj.innerHTML = shutTip;");
    this.r.document.writeln("                }");
    this.r.document.writeln("            } else {");
    this.r.document.writeln("                targetObj.style.display = \"block\";");
    this.r.document.writeln("                if (openTip && shutTip) {");
    this.r.document.writeln("                    sourceObj.innerHTML = openTip;");
    this.r.document.writeln("                }");
    this.r.document.writeln("            }");
    this.r.document.writeln("        }");
    this.r.document.writeln("        function setTab(name, cursel, n) {");
    this.r.document.writeln("            for (i = 1; i <= n; i++) {");
    this.r.document.writeln("                var menu = document.getElementById(name + i);");
    this.r.document.writeln("                var con = document.getElementById(\"con_\" + name + \"_\" + i);");
    this.r.document.writeln("                menu.className = i == cursel ? \"hover\" : \"\";");
    this.r.document.writeln("                con.style.display = i == cursel ? \"block\" : \"none\";");
    this.r.document.writeln("            }");
    this.r.document.writeln("        }");
    this.r.document.writeln("    <\/script>");
    this.r.document.writeln("    <div class=\"Tab1\">");
    this.r.document.writeln("        <div class=\"Menubox\">");
    this.r.document.writeln("            <ul>");
    this.r.document.writeln("                <li id=\"one1\" onmousemove=\"setTab(\'one\',1,2)\" class=\"hover\" style=\"margin-right: 1px;\">");
    this.r.document.writeln("                    用戶/<span id=\"UserCount\">0</span></li>");
    this.r.document.writeln("                <li id=\"one2\" onmousemove=\"setTab(\'one\',2,2)\" class=\"\">管理/<span id=\"AdminCount\">0</span></li>");
    this.r.document.writeln("                <li style=\"background: none; width: 10px; padding-left: 4px;\"><a href=\"#\" onclick=\"openShutManager(this,\'box\')\">");
    this.r.document.writeln("                    <img src=\"" + portraiturl + "images/rig04.gif\"></a></li>");
    this.r.document.writeln("                <li style=\"background: none; width: 10px; padding-left: 4px;\">");
    this.r.document.writeln("                    <img src=\"" + portraiturl + "images/rig05.gif\"></li>");
    this.r.document.writeln("            </ul>");
    this.r.document.writeln("        </div>");
    this.r.document.writeln("        <div id=\"box\" style=\"display: none\" class=\"rig01\">");
    this.r.document.writeln("            <div style=\"float: left\">");
    this.r.document.writeln("                <img src=\"" + portraiturl + "images/rig07.gif\"></div>");
    this.r.document.writeln("            <div class=\"rig03\">");
    this.r.document.writeln("                <input type=\"text\" style=\"color: #999999; background: transparent; border: none\"");
    this.r.document.writeln("                    onfocus=\"if(value==defaultValue){value=\'\';this.style.color=\'#000\'}\" onblur=\"if(!value){value=defaultValue;this.style.color=\'#999\'}\"");
    this.r.document.writeln("                    value=\"請輸入房間名\" size=\"17\"></div>");
    this.r.document.writeln("            <div style=\"float: left; padding-left: 3px; padding-top: 3px;\">");
    this.r.document.writeln("                <a href=\"#\">邀請好友</a></div>");
    this.r.document.writeln("        </div>");
    this.r.document.writeln("        <div class=\"Contentbox\">");
    this.r.document.writeln("            <div id=\"con_one_1\" style=\"display: block;\">");
    this.r.document.writeln("                <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_adm\" cellspacing=\"5\">");
    this.r.document.writeln("                </table>");
    this.r.document.writeln("                <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_vip\" cellspacing=\"5\">");
    this.r.document.writeln("                </table>");
    this.r.document.writeln("                <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_reg\" cellspacing=\"5\">");
    this.r.document.writeln("                </table>");
    this.r.document.writeln("                <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_other\" cellspacing=\"5\">");
    this.r.document.writeln("                </table>");
    this.r.document.writeln("            </div>");
    this.r.document.writeln("            <div id=\"con_one_2\" style=\"display: none;\">");
    this.r.document.writeln("                <table class=\'list\' width=\"100%\" border=\"0\" id=\"listtable_adm\" cellspacing=\"5\">");
    this.r.document.writeln("                </table>");
    this.r.document.writeln("            </div>");
    this.r.document.writeln("        </div>");
    this.r.document.writeln("    </div>");
    this.r.document.writeln("</body></html>");
    this.r.document.close();
}

最佳回答:


沒發現什麼問題

  this.r.document.writeln("                <li id=\"one2\" onmousemove=\"setTab(\'one\',2,2)\" class=\"\">管理/<span id=\"AdminCount\">0</span></li>");

這個沒顯示還是對應的內容沒顯示?


 <div id=\"con_one_2\"
chen2071
chen2071
showbo
yijiuss
showbo
yijiuss
  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved