📄 header.asp
字号:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="include/css.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">
<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=30;//停留tWait豪秒后显示提示。
tPopShow=100;//显示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) {
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+4;
t = vSrc.offsetTop + topMar + h + space-2;
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 manage= '<a style=font-size:9pt;line-height:14pt; href=\"reg.asp\">注册</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=login\">登录</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=profile\">消息中心</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=customerinfo\">个人资料</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=changepass\">修改密码</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=repass\">取回密码</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=goods\">我的订单 </a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=addtocart\">我的购物篮 </a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=receiveaddr\">收货人信息</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=deposit\">积分查询</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=scores\">我的预存款</a><br><a style=font-size:9pt;line-height:14pt; href=\"profile.asp?action=statinfo\">统计信息</a><br><a style=font-size:9pt;line-height:14pt; href=\"logout.asp\">退出</a>'
var stylelist = '<a style=font-size:9pt;line-height:12pt; href=\"discount.asp?action=12\">一至二折商品</a><br><a style=font-size:9pt;line-height:12pt; href=\"discount.asp?action=34\">三至四折商品</a><br><a style=font-size:9pt;line-height:12pt; href=\"discount.asp?action=56\">五至六折商品</a><br><a style=font-size:9pt;line-height:12pt; href=\"discount.asp?action=78\">七至八折商品</a>'
var boardstat= '<a style=font-size:9pt;line-height:14pt; href=\"newarrivals.asp\">新品上架</a><br><a style=font-size:9pt;line-height:14pt; href=\"sold.asp\">销售排行</a><br><a style=font-size:9pt;line-height:14pt; href=\"hot.asp\">关注排行</a><br><a style=font-size:9pt;line-height:14pt; href=\"discount.asp\">特价商品</a><br><a style=font-size:9pt;line-height:14pt; href=\"orders.asp\">商品排行</a><br><a style=font-size:9pt;line-height:14pt; href=\"recommend.asp\">推荐商品</a>'
var downlist= '<a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=process\">购物流程</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=feiyong\">送货方式</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=fukuan\">付款方式</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=tiaokuan\">交易条款</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=transport\">运输说明</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=secret\">保密安全</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=businesstime\">工作时间</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=support\">售后服务</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=law\">版权声明</a><br><a style=font-size:9pt;line-height:14pt; href=\"help.asp?action=faq\">常见问题</a><br><a style=font-size:9pt;line-height:14pt; href=\"join.asp\">VIP会员</a>'
var pluslist='<a style=font-size:9pt;line-height:12pt; href=\join.asp\ >VIP会员申请</a><br><a style=font-size:9pt;line-height:12pt; href=\http://www.timesboard.com/index.asp\ >时代论坛社区</a><br><a style=font-size:9pt;line-height:12pt; href=\http://www.citybbs.cn/index.asp\ >中国城市社区</a><br>'
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</SCRIPT>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
</HEAD>
<BODY ONLOAD="MM_preloadImages('images/skin/default/menu2-2o.gif')" LEFTMARGIN="0" TOPMARGIN="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -