⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu1_disp.aspx

📁 其主要的功能就是,进行后台管理模块整合. 1)其可以支持多个应用,多个模块的权限管理. 2)支持Access和MsSql200/2005. 3)采用角色来进行权限的授权,每个用户可以属于多个角色
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Menu1_Disp.aspx.cs" Inherits="FrameWork.web.Menu1_Disp" %>

<html >
<head runat="server">
    <title>无标题页</title>
    <link rel="stylesheet" href="css/Menu1.css" type="text/css" />
</head>
<body topmargin="3" leftmargin="0" class="style_0_menu_body">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="90">
  <tr>
    <td align="right">
<%=sb_HTMLSrc.ToString()%>
    </td>
  </tr>
</table>
</center>
</body>
<script language="javascript" type="text/javascript">
    var NowOrderNo = <%=OrderNo%> * 2 - 1;
    var NowCount = <%=NowCount%>;
    var NowClickID;
    function TableOnMouseOver(xname)
    {
        NowClickID = window.parent.document.all.NowClickID.value;
        if ((NowClickID != xname) )
        {
            document.all[xname].className = "style_0_menu_ctable_on";
        }
    }
    function TableOnMouseOut(xname)
    {
        NowClickID = window.parent.document.all.NowClickID.value;
        
        if ((NowClickID != xname) )
        {
            document.all[xname].className = "style_0_menu_ctable_off";
        }
    }
    function TableOnClick(xname,linkname)
    {
        
        window.parent.document.all.NowClickID.value = xname;
        for(x=1;x<=NowCount;x++)
        {
        //alert(x);
            menuname = "x" + x;
            if (NowClickID != menuname)
            {
                document.all[menuname].className = "style_0_menu_ctable_off";
            }
        }  
        window.parent.parent.mainFrame.location.href = linkname;
	    AllResetCondition();
	    document.all[xname].className = "style_0_menu_ctable_click";
    }
    
    function ResetCondition()
    {
        for(x=1;x<=NowCount;x++)
        {
         	menuname = "x" + x;
		    document.all[menuname].className = "style_0_menu_ctable_off";
        }
    }
    
    function AllResetCondition()
    {
        var NowWindowRowsValue = window.parent.switchrows.rows;
	    var RowsArray = NowWindowRowsValue.split(",");
	    //alert(NowWindowRowsValue);
	    //alert(RowsArray.length);
	        for (xx=0;xx<RowsArray.length;xx++)
	        {
	            if (xx%2==1)
	            {
	                window.parent.frames(xx).ResetCondition();
	            }
	        }
    } 
</script>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -