📄 header_menu.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"%> <div id="menuWrapper"> <table width="99%" cellspacing="0" cellpadding="0" border="0"> <tbody> <tr valign="top"> <c:forEach items="${rootCategoryItem.children}" var="book" varStatus="status"> <c:if test="${book.id != selectedBookItem.id}"> <th width="11" onmouseout="setBookOff(${status.index}), hideTab('childNode${status.index}')" onmouseover="showTab('childNode${status.index}'), hidesearch('${status.index}')" class="left${status.index}" id="book${status.index}L"></th> <th width="20%" onmouseout="setBookOff(${status.index}), hideTab('childNode${status.index}')" onmouseover="showTab('childNode${status.index}'), hidesearch('${status.index}')" class="middle${status.index}" id="book${status.index}M">${book.name}</th> <th width="31" onmouseout="setBookOff(${status.index}), hideTab('childNode${status.index}')" onmouseover="showTab('childNode${status.index}'), hidesearch('${status.index}')" class="right${status.index}" id="book${status.index}R"></th> </c:if> <c:if test="${book.id == selectedBookItem.id}"> <th width="11" onmouseout="hideTab('childNode${status.index}')" onmouseover="showTab('childNode${status.index}'), hidesearch('${status.index}')" class="leftSelected${status.index}" id="book${status.index}L"> </th> <th width="20%" onmouseout="hideTab('childNode${status.index}')" onmouseover="showTab('childNode${status.index}'),hidesearch('${status.index}')" class="middleSelected${status.index}" id="book${status.index}M">${book.name}</th> <th width="31" onmouseout="hideTab('childNode${status.index}')" onmouseover="showTab('childNode${status.index}'),hidesearch('${status.index}')" class="rightSelected${status.index}" id="book${status.index}R"> </th> </c:if> </c:forEach> </tr> <tr> <c:forEach items="${rootCategoryItem.children}" var="book" varStatus="status"> <td height="0" valign="top" style="text-align: left;" colspan="3"> <div onmouseout="javacsript:hideTab('childNode${status.index}'), setBookOff(${status.index})" onmouseover="javacsript:showTab('childNode${status.index}')" id="childNode${status.index}" class="childNode" style="display: block; visibility: hidden;"> <ul> <c:forEach items="${book.children}" var="superSection" varStatus="superSectionStatus"> <li><a title="${superSection.name}" href="search-browse-category.action?categoryItemId=${superSection.id}">${superSection.name}</a></li> </c:forEach> </ul> </div> </td> </c:forEach> </tr> </tbody> </table> </div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -