css style and Javascript imitate WinXp

来源:互联网 发布:网络测速软件下载 编辑:程序博客网 时间:2024/05/17 08:58

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<LINK href="css/body.css" rel=stylesheet type=text/css>
<STYLE type=text/css>
BODY {
BACKGROUND: #799ae1; MARGIN: 0px; FONT: 9pt 宋体
}
TABLE {
BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
TD {
FONT: 12px 宋体
}
IMG {
BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px
}
A {
FONT: 12px 宋体; COLOR: #215dc6; TEXT-DECORATION: none
}
A:hover {
COLOR: #428eff
}
.sec_menu {
BORDER-RIGHT: white 1px solid; BACKGROUND: #d6dff7; OVERFLOW: hidden; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid
}
.menu_title {

}
.menu_title SPAN {
FONT-WEIGHT: bold; LEFT: 8px; COLOR: #215dc6; POSITION: relative; TOP: 2px
}
.menu_title2 {

}
.menu_title2 SPAN {
FONT-WEIGHT: bold; LEFT: 8px; COLOR: #428eff; POSITION: relative; TOP: 2px
}
</STYLE>
<SCRIPT language=javascript>
function menuShow(obj,maxh,obj2)
{
  if(obj.style.pixelHeight<maxh)
  {
    obj.style.pixelHeight+=maxh/20;
obj.filters.alpha.opacity+=5;
obj2.background="images/title_bg_hide.gif";
    if(obj.style.pixelHeight==maxh/10)
  obj.style.display='block';
myObj=obj;
myMaxh=maxh;
myObj2=obj2;
setTimeout('menuShow(myObj,myMaxh,myObj2)','5');
  }
}
function menuHide(obj,maxh,obj2)
{
  if(obj.style.pixelHeight>0)
  {
    if(obj.style.pixelHeight==maxh/20)
  obj.style.display='none';
    obj.style.pixelHeight-=maxh/20;
obj.filters.alpha.opacity-=5;
obj2.background="images/title_bg_show.gif";
myObj=obj;
myMaxh=maxh
myObj2=obj2;
setTimeout('menuHide(myObj,myMaxh,myObj2)','5');
  }
  else
    if(whichContinue)
  whichContinue.click();
}
function menuChange(obj,maxh,obj2)
{
  if(obj.style.pixelHeight)
  {
    menuHide(obj,maxh,obj2);
whichOpen='';
whichcontinue='';
  }
  else
    if(whichOpen)
{
  whichContinue=obj2;
      whichOpen.click();
}
else
{
  menuShow(obj,maxh,obj2);
  whichOpen=obj2;
  whichContinue='';
}
}
</SCRIPT>

<SCRIPT lanuage="Javascript">
var tt='start';
var ii='start';
function turnit(ss,bb) {

  if (ss.style.display=="none") {
    if(tt!='start') tt.style.display="none";
    if(ii!='start') ii.src="dian.gif";
    ss.style.display="";
    tt=ss;
    ii=bb;
    bb.src="ball.gif";
  }
  else {
    ss.style.display="none";
    bb.src="dian.gif";
  }
}

function openWindow(url) {
  popupWin = window.open(url, 'new_page', 'width=400,height=410,scrollbars')
}
</SCRIPT>
</head>
<body leftmargin="0" topmargin="0" bgcolor="#FFFFFF">
<TABLE cellSpacing=0 cellPadding=0 width="171" align=left border=0>
<TBODY>
  <TR>
    <TD vAlign=top width="171">
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD vAlign=bottom height=42>
<img border="0" src="images/title.jpg" width="158" height="30"> </TD>
          </TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title onmouseover="this.className='menu_title';"
          onmouseout="this.className='menu_title';"
          background="images/title_bg_quit.gif"
            height=25><SPAN><a href="../index.asp" target="blank"><B>首页</B></A>|<a href="right.asp" target="mainFrame"><B>管理中心</B></A>|<B><a href="loginout.asp" target="_parent">退出</a></B></SPAN>
            </TD>
          </TR></TBODY></TABLE>
       <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle1
          onmouseover="this.className='menu_title2';"
          onclick=menuChange(menu1,80,menuTitle1);
          onmouseout="this.className='menu_title';"
          background="images/title_bg_hide.gif"
            height=25><span style="font-weight: 400">题库管理</span></TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu1
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158; HEIGHT: 0px">
                <TABLE style="POSITION: relative; top: 10px;" cellSpacing=0
            cellPadding=0 width=135 align=center>
                  <TBODY>
                  <TR>
                      <TD height=16>
<a href="addquestion.asp" target="mainFrame">添加题目</a></TD>
                    </TR><TR>
                      <TD height=16>
<a href="questionlist.asp" target="mainFrame">编辑题目</a></TD>
                    </TR>
                    <TR>
                      <TD height=19>
<a href="subjectlist.asp" target="mainFrame">科目设置</a></TD>
                    </TR>
                    <TR>
                      <TD height=19>
<a href="kenlist.asp" target="mainFrame">知识点设置</a></TD>
                    </TR>
                  </TBODY>
                </TABLE>
 </DIV></TD></TR></TBODY></TABLE>&nbsp;
<TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle2
          onmouseover="this.className='menu_title2';"
          onclick=menuChange(menu2,120,menuTitle2);
          onmouseout="this.className='menu_title';"
          background="images/title_bg_show.gif"
            height=25 width="158"><span style="font-weight: 400">试卷管理</span></TD>
          </TR>
        <TR>
          <TD width="158">
            <DIV class=sec_menu id=menu2
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158; HEIGHT: 0px">
                <TABLE style="POSITION: relative; top: 10px;" cellSpacing=0
            cellPadding=0 width=135 align=center>
                  <TBODY>
                    <TR>
                      <TD height=18>
<a href="paperlist.asp" target="mainFrame">试卷列表</a></TD>
                    </TR>
                    <TR>
                      <TD height=19> <a href="readpaper.asp" target="mainFrame">主观题阅卷</a></TD>
                    </TR>             <TR>
                      <TD height=19> <a href="readover.asp" target="mainFrame">已阅试卷</a></TD>
                    </TR>

                    <TR>
                      <TD height=19>
<a href="paperbuild1.asp" target="mainFrame">生成新试卷</a></TD>
                    </TR>
                    <TR>
                      <TD height=19>
<a href="analysispaper.asp" target="mainFrame">试卷分析</a></TD>
                    </TR>
                  </TBODY>
                </TABLE>
          </DIV></TD></TR></TBODY></TABLE>&nbsp;
      <SCRIPT language=javascript>
  var whichOpen="";
  var whichContinue='';
      </SCRIPT>
      &nbsp;&nbsp; &nbsp;
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle6
          onmouseover="this.className='menu_title2';"
          onclick=menuChange(menu6,100,menuTitle6);
          onmouseout="this.className='menu_title';"
          background="images/title_bg_show.gif"
            height=25><span style="font-weight: 400">考生库维护</span></TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu6
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158; HEIGHT: 0px">
                <TABLE style="POSITION: relative; TOP: 10px;" cellSpacing=0
            cellPadding=0 width=135 align=center>
                  <TBODY>
              <TR>
                      <TD height=20>
<a href="students.asp" target="mainFrame">考生列表</a></TD>
                    </TR><TR>
                      <TD height=20>
<a href="addstudent.asp" target="mainFrame">新增考生</a></TD>
                    </TR><TR>
                      <TD height=20>
<a href="school.asp" target="mainFrame">学校、年级、班级管理</a></TD>
                    </TR>
<TR>
                      <TD height=20>
<a href="inducttextstud.asp" target="mainFrame">从文本文件导入考生</a></TD>
                    </TR>
</TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
       <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle7
          onmouseover="this.className='menu_title2';"
          onclick=menuChange(menu7,60,menuTitle7);
          onmouseout="this.className='menu_title';"
          background="images/title_bg_show.gif"
            height=25><span style="font-weight: 400">高级用户维护</span></TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu7
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158; HEIGHT: 0px">
                <TABLE style="POSITION: relative; TOP: 10px;" cellSpacing=0
            cellPadding=0 width=135 align=center height="35">
                  <TBODY>
              <TR>
                <TD height=10>
<a href="adminteacher.asp?sort=0" target="mainFrame">教师维护</a></TD></TR>
              <TR>
                <TD height=1>
                <a href="adminteacher.asp?sort=1" target="mainFrame">管理员维护</a></TD></TR>
                </TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
       <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle9
          onmouseover="this.className='menu_title2';"
          onclick=menuChange(menu9,60,menuTitle9);
          onmouseout="this.className='menu_title';"
          background="images/title_bg_show.gif"
            height=25><span style="font-weight: 400">系统管理</span></TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu9
            style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158; HEIGHT: 0px">
                <TABLE style="POSITION: relative; TOP: 10px;" cellSpacing=0
            cellPadding=0 width=135 align=center height="35">
                  <TBODY>
              <TR>
                <TD height=10>
<a href="adminlog.asp?usertype=考生登录" target="mainFrame">考试日志</a></TD></TR>
              <TR>
                <TD height=1>
                <a href="adminlog.asp?usertype=管理员登录" target="mainFrame">管理登录日志</a></TD></TR>

              <TR>
                      <TD> <a href="systeminfo.asp" target="mainFrame">系统信息</a></TD>
                    </TR>
                </TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
      &nbsp;&nbsp;
      <TABLE cellSpacing=0 cellPadding=0 width=158 align=center>
        <TBODY>
        <TR style="CURSOR: hand">
            <TD class=menu_title id=menuTitle8
          onmouseover="this.className='menu_title2';"
          onclick=menuChange(menu8,60,menuTitle8);
          onmouseout="this.className='menu_title';"
          background="images/title_bg_show.gif"
            height=25><span style="font-weight: 400">版权信息</span></TD>
          </TR>
        <TR>
          <TD>
            <DIV class=sec_menu id=menu8
            style="FILTER: alpha(Opacity=100); WIDTH: 158; HEIGHT:60">
                <TABLE style="POSITION: relative; TOP: 4px;" cellSpacing=0
            cellPadding=0 width=135 align=center>
                  <TBODY>
              <TR>
                      <TD height=20><font color="#215dc6">版权所有:刘军</font></TD>
                    </TR>
              <TR>
                      <TD height=10><font color="#215dc6">技术支持:<br/>
                        liujun@21life.net</font></TD>
                    </TR>
              <TR>
                <TD height=10>
                </TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>

<table border="0" WIDTH="100%" HEIGHT="20%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0" bgcolor="#799AE1"><tr>
  </tr></table>  
</body>  
</html>

原创粉丝点击