📄 header.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Header.ascx.cs" Inherits="XpShop.WebUI.Modules.Header" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<script language=javascript>
function addtocart(pid)
{
if('True' == 'True')
{
temp=window.open('ShoppingCart.aspx?pid='+pid,'shopcat','width=700,height=650,scrollbars=yes,top=0,left=0');
temp.focus();
}
else
{
alert('heihei2');
return false;
}
}
</script>
<table width="777" border="0" cellspacing="0" cellpadding="0" align="center" height="80">
<tr>
<td width="220" align="center"><a href="<%=config.SiteUrl%>"><%=config.SiteLogo%></a></td>
<td valign="bottom">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td height="41" align="right">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" height="22"><img src="template/green/images/t30.gif" width="8" height="8">
<a style="font-size:12px;color:#000000;cursor:hand" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('<%=config.SiteUrl%>');">设为首页</a>
<img src="template/green/images/t30.gif" width="8" height="8"> <a style="font-size:12px;color:#000000;cursor:hand" onClick="window.external.addFavorite('<%=config.SiteUrl%>','<%=config.SiteName%>')" >加入收藏</a>
<img src="template/green/images/t30.gif" width="8" height="8"> <a style="font-size:12px;color:#000000;cursor:hand" href="MemberCenter.aspx">会员中心</a>
<img src="template/green/images/t30.gif" width="8" height="8"> <a style="font-size:12px;color:#000000;cursor:hand" href="MemberRegister.aspx">会员注册</a></td>
</tr>
</table>
</td>
</tr>
<tr align="right">
<td height="29"> <font style='color:#000000;font-size:12px;'>
<table border=0 cellspacing=0 cellpadding=0 height=29>
<tr>
<td width=91 align='center' style='padding-top: 5px;' background="template/green/images/mu1.jpg" height="29">
<a href='default.aspx' target=_self style=' color:#ffffff;font-size:12px; '>首页</a></td>
<td align='center' width=92 style='padding-top: 5px' background="template/green/images/mu2.jpg"><a href='News.aspx' target=_self style=' color:#000000;font-size:12px; '>资讯中心</a>
</td>
<td align='center' width=92 style='padding-top: 5px' background="template/green/images/mu2.jpg"><a href='Guest.aspx' target=_self style=' color:#000000;font-size:12px; '>客户留言</a>
</td>
<td align='center' width=92 style='padding-top: 5px' background="template/green/images/mu2.jpg"><a href='BBS/index.asp' target=_self style=' color:#000000;font-size:12px; '>商务社区</a>
</td>
<td align='center' width=92 style='padding-top: 5px' background="template/green/images/mu2.jpg"><a href='MemberCenter.aspx' target=_self style=' color:#000000;font-size:12px; '>会员中心</a>
</td>
</tr>
</table>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -