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

📄 menu_data.jsp

📁 这个是j2eejava web 编程精要十五讲的全部源码。对学习java web编程的人来说是很能得的资料
💻 JSP
字号:
<HTML>
<%@ page contentType="text/html;charset=gb2312" %>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">

<STYLE type=text/css>A:link {
	COLOR: #003399; TEXT-DECORATION: none
}
A:visited {
	COLOR: #003399; TEXT-DECORATION: none
}
A:hover {
	COLOR: #ff6600; TEXT-DECORATION: underline
}


TH {
	FONT-WEIGHT: bold; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(pic/sky/bg1.gif); COLOR: white; BACKGROUND-COLOR: #1458df
}
TD.TableTitle2 {
	BACKGROUND-COLOR: #dadfe2
}
TD.TableBody1 {
	BACKGROUND-COLOR: #f6f6f6
}
TD.TableBody2 {
	BACKGROUND-COLOR: #e8f0fd
}
TD.TopDarkNav {
	BACKGROUND-IMAGE: url(skin/topbg.gif)
}
TD.TopLighNav {
	BACKGROUND-IMAGE: url(skin/bottombg.gif)
}
TD.TopLighNav1 {
	BACKGROUND-IMAGE: url(skin/tabs_m_tile.gif)
}
TD.TopLighNav2 {
	BACKGROUND-COLOR: #ffffff
}
.tableBorder1 {
	BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; WIDTH: 96%; BORDER-BOTTOM: 1px; BACKGROUND-COLOR: #0066cc
}
.tableBorder2 {
	BORDER-RIGHT: #dedede 1px solid; BORDER-TOP: #dedede 1px solid; BORDER-LEFT: #dedede 1px solid; WIDTH: 96%; BORDER-BOTTOM: #dedede 1px solid; BACKGROUND-COLOR: #efefef
}
#TableTitleLink A:link {
	COLOR: #ffffff; TEXT-DECORATION: none
}
#TableTitleLink A:visited {
	COLOR: #ffffff; TEXT-DECORATION: none
}
#TableTitleLink A:active {
	COLOR: #ffffff; TEXT-DECORATION: none
}
#TableTitleLink A:hover {
	COLOR: #ffffff; TEXT-DECORATION: underline
}
INPUT {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 12px; BACKGROUND: url(pic/bg.gif); BORDER-LEFT: #000000 1px solid; LINE-HEIGHT: 15px; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: Verdana,Tahoma,宋体
}
SELECT {
	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: Tahoma,Verdana,宋体
}
TEXTAREA {
	FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: Tahoma,Verdana,宋体
}
.normalTextSmall {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
UNKNOWN {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
</STYLE>

<STYLE type=text/css>.TableBody3 {
	BACKGROUND-COLOR: #f6f6f6
}
.TableBody4 {
	BACKGROUND-COLOR: #e8f0fd
}
.tableBorder3 {
	BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; WIDTH: 96%; BORDER-BOTTOM: 1px; BACKGROUND-COLOR: #0066cc
}
.tableBorder4 {
	BORDER-RIGHT: #dedede 1px solid; BORDER-TOP: #dedede 1px solid; BORDER-LEFT: #dedede 1px solid; WIDTH: 96%; BORDER-BOTTOM: #dedede 1px solid; BACKGROUND-COLOR: #efefef
}
.tableBorder5 {
	BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; WIDTH: 96%; BORDER-BOTTOM: 0px
}
</STYLE>

<SCRIPT language=javascript>
var currentpos,timer; 
function initialize() 
{ 
timer=setInterval("scrollwindow()",1);
} 
function sc(){
clearInterval(timer); 
}
function scrollwindow() 
{ 
currentpos=document.body.scrollTop; 
window.scroll(0,++currentpos); 
if (currentpos != document.body.scrollTop) 
sc();
} 
document.onmousedown=sc
document.ondblclick=initialize
</SCRIPT>

<SCRIPT language=javascript>
function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
function openScript(url, width, height){
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
</SCRIPT>

<SCRIPT language=JavaScript>
//***********默认设置定义.*********************
tPopWait=50;//停留tWait豪秒后显示提示。
tPopShow=5000;//显示tShow豪秒后关闭提示
showPopStep=20;
popOpacity=99;

//***************内部变量定义*****************
sPop=null;
curShow=null;
tFadeOut=null;
tFadeIn=null;
tFadeWaiting=null;

document.write("<style type='text/css'id='defaultPopStyle'>");
document.write(".cPopText {  background-color: #F8F8F5;color:#000000; border: 1px #000000 solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}");
document.write("</style>");
document.write("<div id='dypopLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");


function showPopupText(){
var o=event.srcElement;
	MouseX=event.x;
	MouseY=event.y;
	if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""};
        if(o.title!=null && o.title!=""){o.dypop=o.title;o.title=""};
	if(o.dypop!=sPop) {
			sPop=o.dypop;
			clearTimeout(curShow);
			clearTimeout(tFadeOut);
			clearTimeout(tFadeIn);
			clearTimeout(tFadeWaiting);	
			if(sPop==null || sPop=="") {
				dypopLayer.innerHTML="";
				dypopLayer.style.filter="Alpha()";
				dypopLayer.filters.Alpha.opacity=0;	
				}
			else {
				if(o.dyclass!=null) popStyle=o.dyclass 
					else popStyle="cPopText";
				curShow=setTimeout("showIt()",tPopWait);
			}
			
	}
}

function showIt(){
		dypopLayer.className=popStyle;
		dypopLayer.innerHTML=sPop;
		popWidth=dypopLayer.clientWidth;
		popHeight=dypopLayer.clientHeight;
		if(MouseX+12+popWidth>document.body.clientWidth) popLeftAdjust=-popWidth-24
			else popLeftAdjust=0;
		if(MouseY+12+popHeight>document.body.clientHeight) popTopAdjust=-popHeight-24
			else popTopAdjust=0;
		dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;
		dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;
		dypopLayer.style.filter="Alpha(Opacity=0)";
		fadeOut();
}

function fadeOut(){
	if(dypopLayer.filters.Alpha.opacity<popOpacity) {
		dypopLayer.filters.Alpha.opacity+=showPopStep;
		tFadeOut=setTimeout("fadeOut()",1);
		}
		else {
			dypopLayer.filters.Alpha.opacity=popOpacity;
			tFadeWaiting=setTimeout("fadeIn()",tPopShow);
			}
}

function fadeIn(){
	if(dypopLayer.filters.Alpha.opacity>0) {
		dypopLayer.filters.Alpha.opacity-=1;
		tFadeIn=setTimeout("fadeIn()",1);
		}
}
document.onmouseover=showPopupText;

function CheckAll(form)  {
  for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')       e.checked = form.chkall.checked; 
   }
  }

//下拉菜单相关代码
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -2;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#999999';//定义下拉菜单阴影色
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu() 
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
	if (isvisible == true)
{
		vDiv = document.all("menuDiv");
		mX = window.event.clientX + document.body.scrollLeft;
		mY = window.event.clientY + document.body.scrollTop;
		if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
			vDiv.style.visibility = "hidden";
			isvisible = false;
		}
}
}

function ShowMenu(vMnuCode,tWidth,oset) {
	vSrc = window.event.srcElement;
	vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=tableborder1 onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=tablebody1>" + vMnuCode + "</td></tr></table>";

	h = vSrc.offsetHeight;
	w = vSrc.offsetWidth;
	l = vSrc.offsetLeft + leftMar+50-oset;
	t = vSrc.offsetTop + topMar + h + space-2-15;
	vParent = vSrc.offsetParent;
	while (vParent.tagName.toUpperCase() != "BODY")
	{
		l += vParent.offsetLeft;
		t += vParent.offsetTop;
		vParent = vParent.offsetParent;
	}

	menuDiv.innerHTML = vMnuCode;
	menuDiv.style.top = t;
	menuDiv.style.left = l;
	menuDiv.style.visibility = "visible";
	isvisible = true;
    makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}

function makeRectangularDropShadow(el, color, size)
{
	var i;
	for (i=size; i>0; i--)
	{
		var rect = document.createElement('div');
		var rs = rect.style
		rs.position = 'absolute';
		rs.left = (el.style.posLeft + i) + 'px';
		rs.top = (el.style.posTop + i) + 'px';
		rs.width = el.offsetWidth + 'px';
		rs.height = el.offsetHeight + 'px';
		rs.zIndex = el.style.zIndex - i;
		rs.backgroundColor = color;
		var opacity = 1 - i / (i + 1);
		rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
		el.insertAdjacentElement('afterEnd', rect);
		global.fo_shadows[global.fo_shadows.length] = rect;
	}
}
//模板列表

var stylelist_common_recruit_campus_job= '<a style=font-size:9pt;line-height:12pt; href="../recruit/recruit_campus_job.jsp">招聘专业</a><br><a style=font-size:9pt;line-height:12pt; href="../recruit/recruit_campus_meet.jsp">校园招聘会</a><br>'

var stylelist_common_talent= '<a style=font-size:9pt;line-height:12pt; href="../talent/talent.jsp">社会人才库</a><br><a style=font-size:9pt;line-height:12pt; href="../talent/expert.jsp">海内外专家人才库</a><br>'

var stylelist_common_job= '<a style=font-size:9pt;line-height:12pt; href="../recruit/job_select.jsp">招聘职位查询</a><br>'


var stylelist_manager_index= '<a style=font-size:9pt;line-height:12pt; href="../index/press_list.jsp">发布招聘动态信息</a><br><a style=font-size:9pt;line-height:12pt; href="../index/press_urgent.jsp">发布紧急招聘信息</a><br>'

var stylelist_manager_job_select= '<a style=font-size:9pt;line-height:12pt; href="../job/job_query.jsp">职位管理</a><br><a style=font-size:9pt;line-height:12pt; href="../job/job_insert.jsp">新增职位</a><br><br>'

var stylelist_manager_job_select02= '<a style=font-size:9pt;line-height:12pt; href="../job/job_query02.jsp">职位管理</a><br><a style=font-size:9pt;line-height:12pt; href="../resume/resume_query02.jsp">简历查询</a><br><a style=font-size:9pt;line-height:12pt; href="../resume/resume_poll02.jsp">简历统计</a><br>'

var stylelist_manager_recruit_campus_job= '<a style=font-size:9pt;line-height:12pt; href="../recruit/recruit_campus_job_h.jsp">招聘专业</a><br><a style=font-size:9pt;line-height:12pt; href="../recruit/recruit_campus_meet_h.jsp">校园招聘会</a><br><a style=font-size:9pt;line-height:12pt; href="../resume/resume_campus_query.jsp">校园简历查询</a><br>'

var stylelist_manager_recruit_campus_job02= '<a style=font-size:9pt;line-height:12pt; href="../resume/resume_campus_query02.jsp">校园简历查询</a><br>'


var stylelist_manager_talent= '<a style=font-size:9pt;line-height:12pt; href="../talent/untalent_query.jsp">未入库简历查询</a><br><a style=font-size:9pt;line-height:12pt; href="../talent/talent_query.jsp">人才库查询</a><br>'

var stylelist_manager_talent02= '<a style=font-size:9pt;line-height:12pt; href="../talent/untalent_query02.jsp">未入库简历查询</a><br><a style=font-size:9pt;line-height:12pt; href="../talent/talent_query02.jsp">人才库查询</a><br>'

var stylelist_manager_sys= '<a style=font-size:9pt;line-height:12pt; href="../user/user_insert.jsp">新增用户</a><br><a style=font-size:9pt;line-height:12pt; href="../user/user_list.jsp">用户管理</a><br><a style=font-size:9pt;line-height:12pt; href="../system/major_list.jsp">专业维护</a><br><a style=font-size:9pt;line-height:12pt; href="../system/area_list.jsp">工作地点维护</a><br><a style=font-size:9pt;line-height:12pt; href="../system/company_profile.jsp">联系方式维护</a><br>'


</SCRIPT>

<!-- 依雅尔月修改-增加图标透明效果 -->
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function flash(cur,which)
	{
	if (which==0)
		cur.filters.alpha.opacity=100
	else
		cur.filters.alpha.opacity=65
	}
//-->
</SCRIPT>


<META content="Microsoft FrontPage 4.0" name=GENERATOR>


</HEAD>

<DIV id=menuDiv 
style="Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8"></DIV>

⌨️ 快捷键说明

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