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

📄 toolbar.htm

📁 这是用asp做的一个网上考试题库系统
💻 HTM
字号:
<html>
<head>
<title>Toolbar</title>
<script LANGUAGE="JavaScript">
var show = false	//boolean flag for toggle state
var FullState = ""

function tocResize(e){	//fx to show and hide toc panel
     if (navigator.appName.indexOf("Netscape") < 0){
	if (show == true){ 
		parent.toc.cols = "178,*"
		show = false
  		e.src = "share/full_over.gif"
		e.title = "Topic Only"
                FullState = ""
		}
	else {
		parent.toc.cols = "0,*"
		show = true
		e.title = "Topic & Navigation"
  		e.src = "share/full_down.gif"
                FullState = 1
		}
	}
}

function Outting(e){
    if (FullState != 1){
      e.src = "share/full_gray.gif" }}

function Inning(e){
    if (FullState != 1){
      e.src = "share/full_over.gif" }}
      
 function Reset1()
{
 top.window.close () 
 top.window .open ("./teacherroom.asp")
 
} 

function Reset(){
   // top.frames[1].location = "tree.asp" ;   
   top.frames[2].location =top.frames[1].document.links[0].href;
  if (navigator.appName.indexOf("Netscape") < 0){
   if (navigator.appVersion.indexOf("4") != -1) {
   document.all.fullButton.src = "share/full_gray.gif";   
   show = false;
   document.all.fullButton.title = "仅显示右图";
   FullState = "";
    top.frames[1].document.links[0].className = "active2"
    top.frames[1].scroll(0,0)
    var n = top.frames[1].document.links.length
    for(var i = 1; i < n ; i++){
       if (top.frames[1].document.links[i].className.indexOf("active") != -1){
         top.frames[1].document.links[i].className = "visited"}
       if (top.frames[1].document.links[i].parentElement.parentElement.parentElement.parentElement.className != "2"){
         top.frames[1].document.all.tags("TABLE")[i].style.display = "none" }
       else {
         top.frames[1].document.all.tags("IMG")[i*2].src = "share/arrow_c.gif"}

 }
}
}}

</script>
</head>
<body bgcolor="#000f2b" topmargin="0" leftmargin="0">
<p><nobr>
<a HREF="JavaScript:Reset1()">
<img src="share/home_gray.gif" alt="返回主页" border="0" onmouseover="this.src='share/home_over.gif'" onmousedown="this.src='share/home_down.gif'" onmouseout="this.src='share/home_gray.gif'" WIDTH="40" HEIGHT="35"></a> 

<script LANGUAGE="JavaScript">   
  if ((navigator.userAgent.indexOf("MSIE 4") != -1) || (navigator.userAgent.indexOf("MSIE 5") != -1)){   
       document.write("<a href='JavaScript:tocResize(document.all.fullButton)'><img src='share/full_gray.gif' alt='仅显示右图' border='0' onmouseover='Inning(this)' onmouseout='Outting(this)' name='fullButton'></a>")}   
</script>   
   
   
<a HREF="mailto:chenziyu@cqu.edu.cn">   
<img src="share/write_gray.gif" alt="给我们写信" border="0" onmouseover="this.src='share/write_over.gif'" onmousedown="this.src='share/write_down.gif'" onmouseout="this.src='share/write_gray.gif'" WIDTH="40" HEIGHT="35"></a>   
<a HREF="" target="tree">   
<img src="share/help_gray.gif" alt="帮助" onmouseover="this.src='share/help_down.gif'" onmousedown="this.src='share/help_down.gif'" onmouseout="this.src='share/help_gray.gif'" border="0" WIDTH="40" HEIGHT="35"></a>   
<a HREF="trees.asp" target="tree">
 
</nobr>   
</a></body>   
</html>   

⌨️ 快捷键说明

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