📄 menu_top.php
字号:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="/inc/style.css">
<script>
function view_online()
{
parent.user_online.location="../general/user_online.php?ISPIRIT=1";
setTimeout('view_online();',60000);
}
setTimeout('view_online();',2000);
var menu_id=1;
function setPointer(theRow, thePointerColor,menu_id_over)
{
if(menu_id!=menu_id_over)
theRow.bgColor = thePointerColor;
}
function view_menu()
{
parent.frame1.rows="22,*,0,0";
menu_id=1;
menu_1.bgColor='#D9E8FF';
menu_2.bgColor='#EEEEEE';
menu_3.bgColor='#EEEEEE';
}
function view_user_online()
{
parent.frame1.rows="22,0,*,0";
menu_id=2;
menu_1.bgColor='#EEEEEE';
menu_2.bgColor='#D9E8FF';
menu_3.bgColor='#EEEEEE';
}
function view_user_all()
{
parent.frame1.rows="22,0,0,*";
menu_id=3;
menu_1.bgColor='#EEEEEE';
menu_2.bgColor='#EEEEEE';
menu_3.bgColor='#D9E8FF';
}
</script>
</head>
<body topmargin="0" leftmargin="0" onload="view_menu()">
<TABLE class="small" cellspacing="0" height="100%" width="100%" bgcolor="#EEEEEE" border="1" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="0">
<TR>
<TD title="主菜单" id="menu_1" onclick="view_menu()" onmouseover="setPointer(this, '#B3D1FF',1)" onmouseout="setPointer(this, '#EEEEEE',1)" align="center" style="cursor:hand">
主菜单
</TD>
<TD title="在线人员" id="menu_2" onclick="view_user_online()" onmouseover="setPointer(this, '#B3D1FF',2)" onmouseout="setPointer(this, '#EEEEEE',2)" align="center" style="cursor:hand">
在线人员
</TD>
<TD title="全部人员" id="menu_3" onclick="view_user_all()" onmouseover="setPointer(this, '#B3D1FF',3)" onmouseout="setPointer(this, '#EEEEEE',3)" align="center" style="cursor:hand">
全部人员
</TD>
</TR>
</TABLE>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -