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

📄 bstopmenu2.js

📁 非常漂亮的整程序
💻 JS
字号:
<!--
///////////////////////////////////////////////////////////
//
// 产品名称:良精软件科技 公司(企业)网站管理系统(简称:liangjing.net)
// 版权所有:liangjing.net
// 程序制作:liangjing开发团队
// 联系 方式:QQ :2113269
// Copyright 2004-2005 liangjing.net - All Rights Reserved. 
//
///////////////////////////////////////////////////////////
document.write ('<DIV align="center">');
document.write ('<TABLE cellSpacing=0 cellPadding=0 class="TopMenu2">');
document.write ('<TR><TD>');
document.write ('<TABLE cellSpacing=0 cellPadding=0 class="TopMenu2A">');
document.write ('<TR><TD align="center"');
document.write ('><A onmouseover="javascript:id1.src=\'../Img/Menu/BsMenu_01.gif\';setmenu(1);" onmouseout="id1.src=\'../Img/Menu/BsMenu_01b.gif\'" href="index.asp"');
document.write ('><IMG id=id1 src="../Img/Menu/BsMenu_01b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id2.src=\'../Img/Menu/BsMenu_02.gif\';setmenu(2);" onmouseout="id2.src=\'../Img/Menu/BsMenu_02b.gif\'" href="Bs_CoProfile.asp?Action=Profile"');
document.write ('><IMG id=id2 src="../Img/Menu/BsMenu_02b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id3.src=\'../Img/Menu/BsMenu_03.gif\';setmenu(3);" onmouseout="id3.src=\'../Img/Menu/BsMenu_03b.gif\'" href="Bs_News.asp?Action=Co"');
document.write ('><IMG id=id3 src="../Img/Menu/BsMenu_03b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id4.src=\'../Img/Menu/BsMenu_04.gif\';setmenu(4);" onmouseout="id4.src=\'../Img/Menu/BsMenu_04b.gif\'" href="Bs_Product.asp"');
document.write ('><IMG id=id4 src="../Img/Menu/BsMenu_04b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id5.src=\'../Img/Menu/BsMenu_05.gif\';setmenu(5);" onmouseout="id5.src=\'../Img/Menu/BsMenu_05b.gif\'" href="Bs_Honor.asp?Action=Honor"');
document.write ('><IMG id=id5 src="../Img/Menu/BsMenu_05b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id6.src=\'../Img/Menu/BsMenu_06.gif\';setmenu(6);" onmouseout="id6.src=\'../Img/Menu/BsMenu_06b.gif\'" href="Bs_Sale.asp?Action=Sale"');
document.write ('><IMG id=id6 src="../Img/Menu/BsMenu_06b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id7.src=\'../Img/Menu/BsMenu_07.gif\';setmenu(7);" onmouseout="id7.src=\'../Img/Menu/BsMenu_07b.gif\'" href="Bs_Job.asp"');
document.write ('><IMG id=id7 src="../Img/Menu/BsMenu_07b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id8.src=\'../Img/Menu/BsMenu_08.gif\';setmenu(8);" onmouseout="id8.src=\'../Img/Menu/BsMenu_08b.gif\'" href="Bs_Download.asp"');
document.write ('><IMG id=id8 src="../Img/Menu/BsMenu_08b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id9.src=\'../Img/Menu/BsMenu_09.gif\';setmenu(9);" onmouseout="id9.src=\'../Img/Menu/BsMenu_09b.gif\'" href="Bs_Faq.asp"');
document.write ('><IMG id=id9 src="../Img/Menu/BsMenu_09b.gif" width=71 height=59 border=0></A');
document.write ('><IMG src="../Img/Menu/BsMenu_Space.gif" width=5 height=59 border=0');
document.write ('><A onmouseover="javascript:id10.src=\'../Img/Menu/BsMenu_10.gif\';setmenu(10);" onmouseout="id10.src=\'../Img/Menu/BsMenu_10b.gif\'" href="cookies.asp?menu=BsSkins&no=152"');
document.write ('><IMG id=id10 src="../Img/Menu/BsMenu_10b.gif" width=71 height=59 border=0></A');
document.write ('></TD></TR></TABLE>');
document.write ('</TD></TR>');
document.write ('');

function setmenu(id)
{
	var str;
	switch (id)
	{
		case 1:  //首 页
			str='<div align="left">';
			str+='&nbsp;&nbsp;';
			str+='<a class="Top" href=\"index.asp\">网 站 首 页</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"../Default.asp\">公司形象页</a>&nbsp;&nbsp;';
			str+='</div>';
			break;
		case 2:  //公 司 介 绍
			str='<div align="left">';
			str+='&nbsp;&nbsp;';
			str+='<a class="Top" href=\"Bs_CoProfile.asp?Action=Profile\">公 司 介 绍</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_CoProfile.asp?Action=Ceo\">总 裁 致 辞</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_CoProfile.asp?Action=Culture\">公 司 文 化</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_CoProfile.asp?Action=Organize\">组 织 机 构</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_CoProfile.asp?Action=Principle\">精 神 理 念</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_CoProfile.asp?Action=Contact\">联 系 我 们</a>&nbsp;|&nbsp;';
			str+='</div>';
			break;
		case 3: //公 司 新 闻
			str='<div align="left">';
			str+='<IMG src="../img/1x1_pix.gif" width=66 height=1>';
			str+='<a class="Top" href=\"Bs_News.asp?Action=Co\">公 司 新 闻</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_News.asp?Action=Ye\">业 内 资 讯</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_News.asp?Action=Pr\">产 品 动 态</a>&nbsp;|&nbsp;';
			str+='</div>';
			break;
		case 4: //产 品 展 示
			str='<div align="left">';
			str+='<IMG src="../img/1x1_pix.gif" width=142 height=1>';
			str+='<a class="Top" href=\"Bs_Product.asp\">产 品 展 示</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Products.asp\">产 品 分 类</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Search.asp\">产 品 搜 索</a>&nbsp;|&nbsp;';
			str+='</div>';
			break;
		case 5: //公 司 荣 誉
			str='<div align="left">';
			str+='<IMG src="../img/1x1_pix.gif" width=223 height=1>';
			str+='<a class="Top" href=\"Bs_Honor.asp?Action=Honor\">公 司 荣 誉</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Honor.asp?Action=Img\">公 司 形 象</a>&nbsp;|&nbsp;';
			str+='</div>';
			break;
		case 6: //国 内 市 场
			str='<div align="center">';
			str+='<a class="Top" href=\"Bs_Sale.asp?Action=Sale\">国 内 市 场</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Sale.asp?Action=Salea\">国 际 市 场</a>&nbsp;|&nbsp;';
			str+='</div>';
			break;
		case 7: //人 才 招 聘
			str='<div align="right">';
			str+='<a class="Top" href=\"Bs_Job.asp\">人 才 招 聘</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Jobs.asp\">人 才 策 略</a>&nbsp;|&nbsp;';
			str+='<IMG src="../img/1x1_pix.gif" width=212 height=1>';
			str+='</div>';
			break;
		case 8: //下 载 中 心
			str='<div align="right">';
//			str+='<a class="Top" href=\"Bs_Download.asp\">下 载 中 心</a>&nbsp;|&nbsp;'
			str+='</div>';
			break;
		case 9: //服 务 支 持
			str='<div align="right">';
			str+='<a class="Top" href=\"Bs_Faq.asp\">问 题 解 答</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Server.asp\">会 员 中 心</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_Went.asp\">信 息 反 馈</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_NetBook.asp\">留 言 中 心</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"Bs_E_shop.asp\">订 单 查 询</a>&nbsp;&nbsp;';
			str+='</div>';
			break;
		case 10: //风 格
			str='<div align="right">';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=1\">橘色风格</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=2\">水藍风格</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=4\">绿色风格</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=6\">灰色风格</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=101\">风格 101</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=151\">风格 151</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=152\">风格 152</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=161\">风格 161</a>&nbsp;|&nbsp;';
			str+='<a class="Top" href=\"cookies.asp?menu=BsSkins&no=162\">风格 162</a>&nbsp;&nbsp;';
			str+='</div>';
			break;
		case 11: //
			str='<div align="right">';
			str+='</div>';
			break;
	}	
	window.menu.innerHTML=str;
}

/////////////////////////////////显示当前页面的菜单/////////////////////////////////////////////
window.onload=function()
{
	var curPage=escape(location.href);//当前页文件名
	setmenu(11);
}
document.write ('<TR><TD>');
document.write ('<TABLE cellSpacing=0 cellPadding=0 class="TopMenu2B">');
document.write ('<TR>');
document.write ('<TD id=menu class="TopMenu2B_Td1"></TD>');
document.write ('</TR></TABLE>');
document.write ('</TD></TR></TABLE>');
document.write ('</DIV>');
//-->

⌨️ 快捷键说明

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