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

📄 menu.htm

📁 人事管理系统论文(全) 亏我找了三四天才找到的东西
💻 HTM
📖 第 1 页 / 共 2 页
字号:

//<script language="javascript">
// ---------------------------------------------------------------------
	// init value
	var expandState=0;	            //0=隐藏 ,1=打开
	var isLogin = 0;    //0=没有登录,1登录
	var isVip = 0;
	var menuWebInfoTextStr = '中国最高端的研究报告^如何捕捉短线暴涨股 ';
	var menuWebInfoLinkStr = 'http://wizard.stock.hexun.com/oxdaily/ox/yangbao.aspx^http://wizard.stock.hexun.com/riseIII/default.aspx';
	var menuWebInfoTextArray;
	var menuWebInfoLinkArray;
	var webInfoLoginStr = '';
	var webInfoLogoutStr = '';
	if (menuWebInfoTextStr != '' && menuWebInfoLinkStr != '')
	{
		menuWebInfoTextArray = menuWebInfoTextStr.split('^');
		menuWebInfoLinkArray = menuWebInfoLinkStr.split('^');
		if (menuWebInfoTextArray.length > 0 && menuWebInfoLinkArray.length == menuWebInfoTextArray.length)
		{
			for(var index=0;index<menuWebInfoTextArray.length;index++)
			{
				webInfoLoginStr += '<a href="http://mail.hexun.com/client/redirect_url?gurl=' + menuWebInfoLinkArray[index] + '" target="_blank" '
				+ menuWebInfoLinkArray[index]
				+ '</a><br/>';
			}
		}
	}
	
	if(leftgetCookie("leftLoginCookie")!=null){
		expandState=leftgetCookie("leftLoginCookie");
	}
// ---------------------------------------------------------------------
	// creat shell
	// ------------------------------
	function creatMenuShell(id_str,z_num,w_num,h_num){
		var temp_str='<font id="'+id_str+'" '
			+'style="position:absolute;'
			+'width:'+w_num+';'
			+'height:'+h_num+';'
			+'z-index:'+z_num+'">';
		return temp_str
	}
	function creatTitleLink(title_str,link_str){
		var temp_str='<div style="font-size:12px; margin-left:3px; margin-right:3px; margin-top:2px; padding:2px;" onmouseover="this.style.background=\'#DFE8F4\'" onmouseout="this.style.background=\'#FFFFFF\'">'
			+'<a href="';
		if(link_str==null){
			temp_str+='"'
				+'onclick="expandOfLog(\''
				+title_str
				+'\');return false;"'
		}else{
			temp_str+=link_str;
			temp_str+='" target="_blank"';
		}
		temp_str+=' style="font-size:12px; color:#5876A0; text-decoration:none;line-height:14px">'
			+'<span style="color:#799ED2;font-size:8px;font-weight:bold;margin-left:5px; font-family:\'宋体\'">> </span>'
			+title_str
			+'</a></div>';
		return temp_str;
	}
	function creatLabelLink(title_str,link_str){
		var temp_str='<div style="font-size:12px; margin-left:20px; margin-right:3px; margin-top:2px; padding:2px;" onmouseover="this.style.background=\'#DFE8F4\'" onmouseout="this.style.background=\'#FFFFFF\'">'
			+'<a href="'
			+link_str
			+'" target="_blank" style="font-size:12px; color:#6C6D6F; text-decoration:none;line-height:14px; font-family:\'宋体\'">·'
			+title_str
			+'</a></div>';
		return temp_str;
	}
	// ------------------------------
	// menu action
	var menuAction_str='<a href="" onmouseover="expand()">'
		+'<img src="http://utility.tool.hexun.com/Images/imc_07.gif" border="0" />'
		+'<br />'
		+'<img src="http://utility.tool.hexun.com/Images/imc_08.gif" border="0" />'
		+'</a>'
	// ------------------------------
	// menu login
	var menuLogin_str = ''
		+'<table width="150" border="0" cellspacing="0" cellpadding="0" background="http://utility.tool.hexun.com/Images/imc_11.gif">'
		+'<tr><td width="20" height="22"></td>'
		+'<td width="110" align="center" style="FONT-SIZE:12px; COLOR:#d7e3f4; PADDING-TOP:6px">用户登录</td>'
		+'<td width="20" align="left" valign="top" style="PADDING-TOP:6px">'
		+'<a href="javascript:expand()"><img src="http://utility.tool.hexun.com/Images/imm_01.gif" vspace="0" border="0"></a>'
		+'</td></tr>'
		+'</table>'
		+'<table width="150" height="3" border="0" cellspacing="0" cellpadding="0" background="http://utility.tool.hexun.com/Images/imm_04.png">'
		+'<tr><td height="3"></td></tr>'
		+'</table>'
		+'<table width="150" border="0" cellpadding="0" cellspacing="0">'
		+'<tr><td align="center" valign="top">'
		+'<form name="HWLoginForm" action="http://reg.hexun.com/login.aspx" method="post" onsubmit="return CheckHWLoginForm();"'
		+'style="MARGIN:0px">'
		+'<table width="150" border="0" cellpadding="0" cellspacing="0" background="http://utility.tool.hexun.com/Images/imc_13.gif">'
		+'<tr><td height="54" align="center" style="FONT-SIZE:12px; COLOR:#5876a0">'
		+'用户名'
		+'<input name="username" type="text" value="" style="font-size:12px; border:solid; border-color:#799ED2; border-width:1px; width:84px; margin:3px; vertical-align:middle" />'
		+'<br />'
		+'密 码'
		+'<input name="password" type="password" value="" style="font-size:12px; border:solid; border-color:#799ED2; border-width:1px; width:84px; margin:2px; vertical-align:middle" />'
		+'</td></tr>'
		+'<tr><td height="24" align="left">'
		+' <input type="image" border="0" src="http://utility.tool.hexun.com/Images/dl_1.gif" name="btnlogin" hspace="50" vspace="3">'
		+'</td></tr>'
		+'<tr><td height="50" align="left" style="FONT-SIZE:12px; COLOR:#5876a0;">'
		+'&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="LoginStateName" value="1" onclick="Click_Name(this)" checked>记住用户名<br />'
		+'&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="LoginStateAuto" value="1" onclick="Click_Auto(this)" >自动登录'
		+'</td></tr>'
		+'</table>'
		+'<table width="150" border="0" cellpadding="0" cellspacing="0" background="http://utility.tool.hexun.com/Images/imc_16.gif">'
		+'<tr><td><img src="http://utility.tool.hexun.com/Images/imc_21.gif" /></td></tr>'
		+'<tr><td height="25" align="center">'
		+'<a href="http://reg.hexun.com/Register.aspx?fromhost=HX_BLOG&&backurl=http://blog.hexun.com/registerblog.aspx" target="_blank" style="FONT-SIZE:12px;COLOR:#5876a0; TEXT-DECORATION:none">[注册]</a> '
		+'<a href="http://reg.hexun.com/GetPasswordPre.aspx" target="_blank" style="FONT-SIZE:12px;COLOR:#5876a0; TEXT-DECORATION:none">[忘记密码]</a>'
		+'</td></tr>'
		+'<tr><td><img src="http://utility.tool.hexun.com/Images/imc_17.gif" /></td></tr>'
		+'</table>';
		//增加广告[Sunny Zhao 2003-3-23]
		menuLogin_str += '<table width="150" border="0" cellpadding="0" cellspacing="0" background="http://utility.tool.hexun.com/Images/imc_18.gif"><tr><td>';
		if (menuWebInfoTextArray.length > 0 && menuWebInfoLinkArray.length == menuWebInfoTextArray.length)
		{
			for(var index=0;index<menuWebInfoTextArray.length;index++)
			{
				menuLogin_str += '<div style="font-size:12px; margin-left:3px; margin-right:3px; margin-top:2px; padding:2px;text-align:left;">'
					+'<img src="http://utility.tool.hexun.com/Images/imc_22.gif"><a href="' + menuWebInfoLinkArray[index] + '" target="_blank" style="font-size:12px; color:#FFFFFF; text-decoration:none;line-height:14px">'
					+ menuWebInfoTextArray[index] + '</a></div>';
			}
		}
		menuLogin_str += '</td></tr><tr><td><img src="http://utility.tool.hexun.com/Images/imc_20.gif" /></td></tr></table>'
		+'<input type="hidden" name="gourl" value="http://xianren2008.blog.hexun.com/17853919_d.html">'
		+'</form>'
		+'</td></tr>'
		+'</table>';
	
	// ------------------------------
	// menu logout
	var menuLogout1_str='<table width="150" border="0" cellspacing="0" cellpadding="0">'
		+'<tr><td height="22" background="http://utility.tool.hexun.com/Images/imc_11.gif">'
		+'<table width="150" border="0" cellspacing="0" cellpadding="0">'
		+'<tr><td width="20" height="22"></td>'
		+'<td width="110" align="center" valign="bottom" style="font-size:12px; color:#D7E3F4; line-height:18px">欢迎回来</td>'
		+'<td width="20" align="left" valign="bottom">'
		+'<a href="javascript:expand()"><img src="http://utility.tool.hexun.com/Images/imm_01.gif" vspace="3" border="0" /></a>'
		+'</td></tr></table>'
		+'</td></tr>'
		+'<tr><td height="48" background="http://utility.tool.hexun.com/Images/imc_12.gif" style="text-indent: 3px; text-align:left">'
		+'<div style="float:left"><a href="http://hexun.com//" target="_blank"><img src="" width="40" height="40" hspace="3" align="top" border="0"/></a>'
		+'<img src="http://utility.tool.hexun.com/Images/imc_15.gif" width="4" height="40" align="absmiddle" /></div>'
		+'<div style="float:left;width:92px;"><a href="http://hexun.com/" target="_blank" style="text-decoration:none;font-size:12px; color:#FFFFFF;"></a><div style="text-align:right;width:100%;padding:12px 0 0 0"><a href="http://hexun.com//default.html" target="_blank" style="text-decoration:none;color:#fff;font-size:12px;">进入>></a></div>'
		+'</td></tr>'
		+' <tr><td background="http://utility.tool.hexun.com/Images/imc_13.gif" style="color:#000000; text-align:left" id="leftMenuCT">';
	var menuLogout2_str='</td></tr></table>'
		+'<table width="150" border="0" cellpadding="0" cellspacing="0" background="http://utility.tool.hexun.com/Images/imc_16.gif">'
		+'<tr><td><img src="http://utility.tool.hexun.com/Images/imc_21.gif" /></td></tr>'
		+'<tr><td height="25" align="center">'
		+'<a href="http://utility.tool.hexun.com/Quit.aspx?gourl=http%3a%2f%2fxianren2008.blog.hexun.com%2f17853919_d.html" style="font-size:12px; color:#5876A0; text-decoration:none">[登 出]</a>'
		+'</td></tr>'
		+'<tr><td><img src="http://utility.tool.hexun.com/Images/imc_17.gif" /></td></tr>'
		+'</table>';
		//增加广告[Sunny Zhao 2003-3-23]
		menuLogout2_str += '<table width="150" border="0" cellpadding="0" cellspacing="0" background="http://utility.tool.hexun.com/Images/imc_18.gif"><tr><td>';
		if (menuWebInfoTextArray.length > 0 && menuWebInfoLinkArray.length == menuWebInfoTextArray.length)
		{
			for(var index=0;index<menuWebInfoTextArray.length;index++)
			{
				menuLogout2_str += '<div style="font-size:12px; margin-left:3px; margin-right:3px; margin-top:2px; padding:2px;">'
					+'<img src="http://utility.tool.hexun.com/Images/imc_22.gif"><a href="' + menuWebInfoLinkArray[index] + '" target="_blank" style="font-size:12px; color:#FFFFFF; text-decoration:none;line-height:14px">'
					+ menuWebInfoTextArray[index] + '</a></div>';
			}
		}
		menuLogout2_str += '</td></tr><tr><td><img src="http://utility.tool.hexun.com/Images/imc_20.gif" /></td></tr></table>'
		
	var menuLogout_array=new Array();
		
		
		var temp_obj=new Object();
		temp_obj.title_str='进入我的家';
		temp_obj.link_str='http://hexun.com/manage/Admin_index.aspx';
		temp_obj.open_bool=false;
		menuLogout_array.push(temp_obj);
		delete temp_obj;
		
		var temp_obj=new Object();
		temp_obj.title_str='查看私信';
		temp_obj.link_str='http://message.hexun.com/Default.aspx';
		temp_obj.open_bool=false;
		menuLogout_array.push(temp_obj);
		delete temp_obj;
		
		var temp_obj=new Object();
		temp_obj.title_str='发表文章';
		temp_obj.link_str='http://hexun.com/manage/Admin_BlogPostArticle.aspx';
		temp_obj.open_bool=false;
		menuLogout_array.push(temp_obj);
		delete temp_obj;
		
		var temp_obj=new Object();
		temp_obj.title_str='上传图片';
		temp_obj.link_str='http://post.photo.hexun.com/upload/';
		temp_obj.open_bool=false;
		menuLogout_array.push(temp_obj);
		delete temp_obj;
		
		var temp_obj=new Object();

⌨️ 快捷键说明

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