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

📄 menu.htm

📁 J2EE课程设计资料集合 交你怎么样设计现在流行的J2EE组件开发 JavaScript和servlet开发 怎么样实现页面验证和跳转
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--任网在线的JAVA资源站http://fuo.cc-->
<HTML>
<HEAD>
<TITLE>fold menu tree-任网在线的JAVA资源站http://fuo.cc</TITLE>

<!--字体大小和颜色可以改变,其余不要改变-->
<STYLE ID="JoustStyles" TYPE="text/css">
<!--
	.menuItem {position:absolute; visibility:hidden; left:0px;}
	.node { color: black;
		font-family : "宋体";
		font-size : 9pt;}
	.node A:link { color: black; text-decoration: none; }
	.node A:visited { color: black; text-decoration: none; }
	.node A:active { color: black; text-decoration: none; }
	.node A:hover { color: black; text-decoration: none; }
	.leaf { color: black;
		font-family : "宋体";
		font-size : 9pt;}
	.leaf A:link { color: black; text-decoration: none;}
	.leaf A:visited { color: black; text-decoration: none; }
	.leaf A:active { color: black; text-decoration: none; }
	.leaf A:hover { color: black; text-decoration: none; }
-->
</STYLE>


<script language="JavaScript">
<!--  
var theMenuRef = "parent.theMenu";
var theMenu = eval(theMenuRef);
var theBrowser = parent.theBrowser;
var belowMenu = null;
var menuStart = 0;

if (parent.theBrowser) {
	if (parent.theBrowser.canOnError) {window.onerror = parent.defOnError;}
}

if (theMenu) {
	theMenu.amBusy = true;
	if (theBrowser.hasDHTML) {
		if (document.layers) {
			document.ids.menuTop.position = "absolute";
			document.ids.menuBottom.position = "absolute";
			document.ids.menuBottom.visibility = "hidden";
			document.ids.statusMsgDiv.position = "absolute";
		} else {
			if (document.all) {
				with (document.styleSheets["JoustStyles"]) {
					addRule ("#menuTop", "position:absolute");
					addRule ("#menuBottom", "position:absolute");
					addRule ("#menuBottom", "visibility:hidden");
					addRule ("#statusMsgDiv", "position:absolute");
				}
			}
		}
	}
}
function getDHTMLObj(objName) {
	return eval('document' + theBrowser.DHTMLRange + '.' + objName + theBrowser.DHTMLStyleObj);
}
function getDHTMLObjHeight(objName) {
	return eval('document' + theBrowser.DHTMLRange + '.' + objName + theBrowser.DHTMLDivHeight);
}
function getDHTMLObjTop(theObj) {return (theBrowser.code == "MSIE") ? theObj.pixelTop + 0 : theObj.top;}
function myVoid() { ; }
function setMenuHeight(theHeight) {
	getDHTMLObj('menuBottom').top = theHeight;
}
function drawStatusMsg() {
	if (document.layers) {
		document.ids.statusMsgDiv.top = menuStart;
	} else{
		if (document.all) {
			document.styleSheets["JoustStyles"].addRule ("#statusMsgDiv", "top:" + menuStart);
		}
	}
	document.writeln('<DIV ID="statusMsgDiv"><CENTER>Initing...</CENTER></DIV>');
}
function drawLimitMarker() {
	var b = theBrowser;
	if (theMenu && b.hasDHTML && b.needLM) {
		var limitPos = theMenu.maxHeight + menuStart + getDHTMLObjHeight('menuBottom');
		if (b.code == 'NS') {
			document.ids.limitMarker.position = "absolute";
			document.ids.limitMarker.visibility = "hidden";
			document.ids.limitMarker.top = limitPos;
		}
		if (b.code == 'MSIE') {
			with (document.styleSheets["JoustStyles"]) {
				addRule ("#limitMarker", "position:absolute");
				addRule ("#limitMarker", "visibility:hidden");
				addRule ("#limitMarker", "top:" + limitPos + "px");
			}
		}
		document.writeln('<DIV ID="limitMarker">&nbsp;</DIV>');
	}
}
function setTop() {
	if (theMenu && theBrowser.hasDHTML) {
		if (getDHTMLObj('menuTop')) {
			menuStart = getDHTMLObjHeight("menuTop");
			drawStatusMsg();
		} else {
			theBrowser.hasDHTML = false;
		}
	}
}
function setBottom() {
	if (theMenu) {
		if (theBrowser.hasDHTML) {
			drawLimitMarker();
			getDHTMLObj("statusMsgDiv").visibility = 'hidden';
			theMenu.refreshDHTML();
			getDHTMLObj('menuBottom').visibility = 'visible';
		}
		theMenu.amBusy = false;
	}
}
function frameResized() {if (theBrowser.hasDHTML) {theMenu.refreshDHTML();}}

//	############   End ############

/*所有文件名都不要改变,否则运行可能回出现问题,因为相互引用的地方非常多。*/

if (self.name != 'menu') { self.location.href = 'index.htm'; }
//-->
</script>
</HEAD>
<BODY BGCOLOR="#59AFFF" LINK="#000000" marginwidth="1" marginheight="1" onResize="frameResized();">

<DIV ID="menuTop">

<FONT FACE="arial" SIZE="3">
<b>Site Menu Tree</b></FONT><BR>&nbsp;
</DIV>

<SCRIPT LANGUAGE="JavaScript">
<!--
setTop();
//-->
</SCRIPT>

<!--这些字体,颜色等参数应用于后面的菜单 -->
<FONT FACE="宋体">

<SCRIPT LANGUAGE="JavaScript">
<!--
if (theMenu) {
	parent.DrawMenu(theMenu);
}
//-->
</SCRIPT>

</FONT>

<DIV ID="menuBottom">
<!-- Place anything you want to appear after the menu between these DIV tags. -->
&nbsp;
</DIV>

<SCRIPT LANGUAGE="JavaScript">
<!--
setBottom();
//-->
</SCRIPT>

</BODY>
</HTML>

⌨️ 快捷键说明

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