productlist_body.jsp
来自「工厂版本管理系统,STRUTS2框架,用于管理商品的版本,便于有效的控制版本」· JSP 代码 · 共 836 行 · 第 1/2 页
JSP
836 行
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><!-- Coremetrics --> <script language="javascript1.2" type="text/javascript"><!-- cmCreatePageviewTag("Technology Family", null, "MCBs", "279");//--> </script><!-- End Coremetrics --><script language="javascript">var datasheetid = "";var datasheetdivid = "";var datasheetFlag = "false";function openDataSheet(stockNumber,stockType) { //alert("entered openDataSheet()"); var newwindow = 'datasheet' + stockNumber; var newdiv = 'datasheetdiv' + stockNumber; //alert('window ID ='+newdiv); var oIfr = document.getElementById(newwindow); var oIfrdiv = document.getElementById(newdiv); var url = "/web/search/searchBrowseAction.html?method=getTechDocs&stockNumber=" + stockNumber +"&stockType="+stockType; //oIfr.style.display=(oIfr.style.display=='block')?'none':'block'; // original script oIfr.style.display='block'; oIfrdiv.style.display='block';// window.frames[newwindow].location.href = url; document.getElementById(newwindow).src= url if (datasheetid == "") { oIfr.style.display='block'; oIfrdiv.style.display='block'; datasheetid = 'datasheet' + stockNumber; datasheetdivid = 'datasheetdiv' + stockNumber; }else{ document.getElementById(datasheetid).style.display='none'; document.getElementById(datasheetdivid).style.display='none'; oIfr.style.display='block'; oIfrdiv.style.display='block'; datasheetid = newwindow; datasheetdivid = newdiv; }}function closedatasheet(){document.getElementById(datasheetid).style.display='none';document.getElementById(datasheetdivid).style.display='none';}</script><style>iframe {overflow-x: hidden;overflow-y: scroll;} </style><div id="content2"><div class="sectionTab"> <h2 class="browseDt" title="以产品系列或特性缩小您的搜寻结果">以产品系列或特性缩小您的搜寻结果</h2> </div><div class="tfgBox"><c:if test="${choosenFamily==null}"><div class="attributePane"><ul class="familyDl"> <c:forEach items="${familyStatistics}" var="family" varStatus="status"> <li onclick="javascript:window.location='product-list.chooseFamily.action?family.id=${family.id}&categoryItemId=${categoryItemId }'"> <a href="#" title="${family.name }" class="link1"> <span class="imig"> <img src="../image/noImage.gif" alt="${family.name }" title="${family.name }" border="0"> </span> <span class="sName">${family.name }</span> <span class="sCount">(${family.count })</span> </a> </li> </c:forEach></ul></div></c:if><c:if test="${choosenFamily!=null}"><div class="tfgApplied"> <div class="selectedLink"> <a href="product-list.unchooseFamily.action?categoryItemId=${categoryItemId }&keywords=${keywords }"><img border="0" align="absmiddle" src="../image/site/search/selected.gif"/></a> <a href="product-list.unchooseFamily.action?categoryItemId=${categoryItemId }&keywords=${keywords }">${choosenFamily.name }</a> </div> <div class="selectedMessage">Untick to view all in range</div><br/> </div></c:if><div class="attributePane"> <div class="attributeWindow boxIndex0"> <div class="attributeTitle" id="Brand" title="Brand"> 制造商 </div> <c:if test="${choosenManufactory==null}"> <c:forEach items="${manufactoryStatistics}" var="item"> <div class="attribute"> <a class="attributeAvail" href="product-list.chooseManufactory.action?categoryItemId=${categoryItemId }&manufactory.id=${item.id }&keywords=${keywords }" title="${item.name }">${item.name }</a> <span class="attributeCount">(${item.count })</span> </div> </c:forEach> </c:if> <c:if test="${choosenManufactory!=null}"> <div class="attribute"> <a title="National Semiconductor" href="product-list.unchooseManufactory.action?categoryItemId=${categoryItemId }&keywords=${keywords }" class="attributeApplied"> <img border="0" src="../image/site/search/selected.gif"/> ${choosenManufactory.name }</a> <div class="attributeAppliedMessage">Untick to view all in 制造商 </div> </div> </c:if></div> <c:forEach items="${attributeStatistics.items}" var="title" varStatus="status"> <div class="attributeWindow boxIndex${status.index +1}"> <div class="attributeTitle" id="Brand" title="Brand"> ${title.key} </div> <c:if test="${choosenAttributes[title.key]==null}"> <c:forEach items="${title.value}" var="attribute"> <div class="attribute"> <a class="attributeAvail" href="product-list.chooseAttribute.action?categoryItemId=${categoryItemId }&productAttribute.name=${title.key}&productAttribute.value=${attribute.name}&keywords=${keywords }" title="${attribute.name}">${attribute.name}</a> <span class="attributeCount">(${attribute.count})</span> </div> </c:forEach> </c:if> <c:if test="${choosenAttributes[title.key]!=null}"> <div class="attribute"> <a title="${choosenAttributes[title.key] }" href="product-list.unchooseAttribute.action?categoryItemId=${categoryItemId }&productAttribute.name=${title.key}&productAttribute.value=${choosenAttributes[title.key] }&keywords=${keywords }" class="attributeApplied"> <img border="0" src="../image/site/search/selected.gif"/> ${choosenAttributes[title.key] }</a> <div class="attributeAppliedMessage">Untick to view all in ${title.key } </div> </div> </c:if> </div> </c:forEach> </div></div><!-- Paging --><div class="resultArrow" id="resultArrow"> <div class="viewing">观看第 <span>1 - 25 </span> 项/ <span>279</span> 项搜寻结果 </div> <div id="pageAvail"> <span class="on">1</span> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=25"><span>2</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=50"><span>3</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=75"><span>4</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=100"><span>5</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=125"><span>6</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=150"><span>7</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=175"><span>8</span></a> | <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=200"><span>9</span></a> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&No=25">下一页</a> </div></div> <div class="paramTableBox"><div class="paramTableBorder"><!-- Price Message --> <div class="tfgPriceMessage">由于您现时未有登入,所以系統显示价格或不等同于您的实际价格 - <a href="http://shanghai.rs-online.com/web/search/authSearchBrowseAction.html?method=retrieveTfg&Ne=4294962759&N=4294900061+4294895025&binCount=279" title="登入">登入</a></div> <!-- End Price Message --><span id="off11" style="display: none;"></span> <table id="paramTable" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <th valign="top">RS库存号</th> <th valign="top"><div class="tfgDescCol">详情</div></th> <th valign="top">订购数量</th> <th valign="top">单价</th> <th valign="top"><div class="tfgAvailCol">库存</div></th> <th valign="top">技术数据资料表</th> <th valign="top">RoHS状态</th> <th valign="top">制造商</th> <th valign="top">制造商产品编号</th> </tr> <tr> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=prodId3&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=shrtDsc&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> <td class="sortHeader"> <div class="sort"></div> </td> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=I18NPrc1_cn03&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> <td class="sortHeader"> <div class="sort"></div> </td> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=I18NTechDoc&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=rohs&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=brand&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> <td class="sortHeader"> <a href="http://shanghai.rs-online.com/web/search/searchBrowseAction.html?method=retrieveTfg&Nr=AND%28avl%3acn03%2csearchDiscon_cn03%3aN%29&N=4294900061+4294895025&binCount=279&Ns=I18NManPart&Nso=0#resultArrow" title="逆序"><div class="sort" style="background: rgb(216, 219, 218) url(http://img-china.rs-online.com/cn03/img/site/search/sortUp.gif) no-repeat scroll center center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" title="逆序"></div></a> </td> </tr> <script>function urlSplit(){var URL=String(window.location).split("?");var params = URL[1].split("&");var obj = new Object();if (URL.length>1){ params = URL[1].split("&"); for (i=0 ; i< params.length ; i++){ var item=params[i].split("="); obj[item[0]]=item[1]; } } return obj;}var obj = urlSplit();if (obj.No && obj.No!=0){ document.getElementById("off11").style.display="none"; }if (obj.Nso){ document.getElementById("off11").style.display="none"; }if (obj.selectAttribute || obj.deSelectAttribute){ document.getElementById("off11").style.display="none"; }function McheckAvailability(formId){ var formName = formId; stockNumber = document.getElementById(formName).stocknum.value; var quantity = document.getElementById(formName).qty.value; //alert(quantity);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?