📄 header.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %><script>function checkTerm(){ var term=document.searchForm.searchTerm.value; if (term!=""){ return true; } else { window.alert('请输入关键词'); return false; }}</script><a name="header"></a><form method="get" autocomplete="off" onsubmit="return checkTerm();" action="search-browse-category.action" name="searchForm"><table cellspacing="0" cellpadding="0" border="0" class="headerHolder"> <tbody> <tr> <td width="50" rowspan="2"><a title="Home" href="../"><img border="0" class="headerLogo" alt="Home" src="../image/site/header/logo2.gif" /></a></td> <td width="180" rowspan="2"><input type="hidden" value="searchProducts" name="method" /> <input type="text" tabindex="1" class="searchBox" onkeydown="stopCount()" onkeyup="javascript:retrieveTfgsCheck(this.value,'cn03');" value="${keywords }" name="keywords" id="searchTerm" /><br /> <div onmouseout="hideStuff('txtHintBox')" onmouseover="showStuff('txtHintBox')" id="txtHintBox" style="display: none;"> <div class="txtHintHeader">推荐产品种类</div> <div class="txtInnerBorder"> <div class="txtWindow"> <ul id="txtHint"> </ul> </div> </div> </div> </td> <td rowspan="2"><input type="image" tabindex="2" alt="搜寻产品" src="../image/site/header/find.gif" /></td> <td width="70%" align="right"> <ul class="navList"> <li><a title="订购单" href="shoppingcart.action"><img border="0" alt="订购单" src="http://img-china.rs-online.com/cn03/img/site/header/orderFormTab.gif" /></a></li> <li><a title="资料库" href="#"><img border="0" alt="资料库" src="http://img-china.rs-online.com/cn03/img/site/header/orderInfoTab.gif" /></a></li> <li><a title="帮助" href="#"><img border="0" alt="帮助" src="http://img-china.rs-online.com/cn03/img/site/header/orderhelpTab.gif" /></a></li> </ul> </td> </tr> <tr> <td align="right"> <div class="headerLoginCart"> <p class="loggedInAs"><a title="登入" <c:if test="${sessionUser==null}"> href="../other/auth.input.action">登入</a> </c:if> <c:if test="${sessionUser!=null}"> 你已登入为: <b>${sessionUser.fullName }</b> <a title="订购纪录" href="#"> 订购纪录</a> | <a title="零件清单" href=#">零件清单</a> | <a title="注销" href="../other/auth.logout.action">注销</a> </c:if> </p> </div> </td> </tr> </tbody></table></form><!--[if IE]><style type="text/css">html {filter: expression(document.execCommand("BackgroundImageCache", false, true));} </style><![endif]--><table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td width="1%"></td> <td id="booksContainer"> <tiles:insertAttribute name="menu"/> </td> <td valign="top" id="cartContainer"> <div id="headerCart"> <p class="headerCartEPB"><img height="20" width="25" border="0" align="absmiddle" src="http://img-china.rs-online.com/cn03/img/site/header/orderCart.gif" /> <a title="订购单" href="../product-category/shoppingcart.action"><span class="headerCartCount"> ${shoppingCart.totalQuantity}款产品: RMB${shoppingCart.totalAmount} </span></a></p> </div> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr height="0"> <td></td> </tr> </tbody> </table> </td> </tr> </tbody></table><div class="headerUnderline"></div><div class="headerMerch"></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -