📄 masterpage.master
字号:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="style_MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>51aspx.com</title>
<link href="Jebon.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript">
var oldRow = 0;
function setSelectedRow(row)
{
if (oldRow) oldRow.className = "unchkMenu";
row.className = "chkMenu";
oldRow = row;
// alert(row.style);
}
var menuDiv = ["StudentList_DropDown", "Department_DropDown"];
function showDropDownMenu(id)
{
/* for (i = 0; i < menuDiv.length; i++)
{
if (i == id)
document.getElementById(menuDiv[i]).style.visibility = "visible";
else
document.getElementById(menuDiv[i]).style.visibility = "hidden";
}*/
}
document.documentElement.onclick = function(){ showDropDownMenu(-1);};
</script>
</head>
<body>
<form id="form1" runat="server">
<div style="z-index:103; left:1px;top:6px; position:absolute;"><a id="A1" runat="server" href="~/default.aspx"><img id="Img1" runat="server" style="border:0px" src="~/images/logo.gif" alt="logo" /></a></div>
<div style="z-index: 201; left:206px; width: 350px; position: absolute; top: 21px;
height: 40px;" id="mainMenu" class = "mainMenu">
<!--
<div style="z-index: 103; right: 100px; width: 84px;position: absolute;
top: 12px; height: 23px;">员工考勤管理</div>-->
<div style="z-index: 101; left: 1px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/default.aspx" onmouseover="showDropDownMenu(2)">管理首页</a></div>
<div style="z-index: 107; left: 91px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Personal/StudentList.aspx" onmouseover="showDropDownMenu(0)">学生信息</a></div>
<div style="z-index: 108; left: 181px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Personal/StudentAttend.aspx" onmouseover="showDropDownMenu(2)">学生考勤</a></div>
<div style="z-index: 102; left:271px ; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Personal/StudentCredit.aspx" onmouseover="showDropDownMenu(2)">学生成绩</a></div>
</div>
<asp:Panel ID="pan1" runat="server">
<div style="z-index: 201; left:566px; width: 350px; position: absolute; top: 21px;
height: 40px;" class = "mainMenu">
<div style="z-index: 106; left: 1px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Personal/CourseList.aspx" onmouseover="showDropDownMenu(2)">课程科目</a></div>
<div style="z-index: 103; left: 91px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Personal/EmployeeList.aspx" onmouseover="showDropDownMenu(2)">员工信息</a></div>
<div style="z-index: 104; left:181px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Personal/Department.aspx" onmouseover="showDropDownMenu(1)">部门班级</a></div>
<div style="z-index: 105; left: 271px; width: 84px;position: absolute;
top: 9px; height: 23px;"><a runat="server" href="~/Maintain/InfoManage.aspx" onmouseover="showDropDownMenu(2)" >信息维护</a></div>
</div></asp:Panel>
<div style="z-index: 110; left: 0px;top:62px; position: absolute; right:0px; bottom:30px; background-color: white;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server" >
</asp:contentplaceholder>
</div>
<div style="z-index: 100; left: 50%; width:800px; margin-left:-400px; position: absolute; right:20px;bottom:0px; padding-left:10px;padding-bottom:3px;
text-align:center;" >版权所有© 拓尔思信息技术有限公司 v0.1beta <a href="http://www.51aspx.com" target="_blank">download from 51aspx.com</a>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -