📄 studentexamitem.jsp
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<SCRIPT LANGUAGE=javascript>
<!--
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;
function expandIt(index){
var menuitem=new Array()
menuitem[1]=KB1Child
menuitem[2]=KB2Child
if (menuitem[index].style.display=="block"){
displayall()
}
else {
displayall();
var menu="menu"+index;
var menuText=document.getElementById(menu).innerText;
document.getElementById(menu).innerText=menuText.replace("+","-");
menuitem[index].style.display="block"
}
}
function displayall(){
var menu1Text=document.getElementById("menu1").innerText;
var menu2Text=document.getElementById("menu2").innerText;
document.getElementById("menu1").innerText=menu1Text.replace("-","+");
document.getElementById("menu2").innerText=menu2Text.replace("-","+");
KB1Child.style .display ="none"
KB2Child.style .display ="none"
}
function arrange() {
nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;
for (i=firstInd+1; i<document.layers.length; i++) {
whichEl = document.layers[i];
if (whichEl.visibility != "hide") {
whichEl.pageY = nextY;
nextY += whichEl.document.height;
}
}
}
function initIt(){
if (!ver4) return;
if (NS4) {
for (i=0; i<document.layers.length; i++) {
whichEl = document.layers[i];
if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
}
arrange();
}
else {
divColl = document.all.tags("DIV");
for (i=0; i<divColl.length; i++) {
whichEl = divColl(i);
if (whichEl.className == "child") whichEl.style.display = "none";
}
}
}
onload = initIt;
//-->
</SCRIPT>
<body background="3.jpg">
<table border=0>
<A href="#" onclick="expandIt(2); return false"><div id="menu2">+查询考试科目信息</div></A>
<div id="KB2Child" class="child">
<A href="QueryExamInformationByStudentId.jsp" target=right>按学号查询考试科目</A><BR>
<A href="QueryExamInformationByDate.jsp" target=right>按时间查询考试科目</A><BR>
<A href="QueryExamInformationByTerm.jsp" target=right>按学期查询考试科目</A><BR>
</div>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -