cleft.jsp
来自「一个基于Java的新闻发布系统」· JSP 代码 · 共 44 行
JSP
44 行
<%@ page contentType="text/html;charset=gb2312"%>
<script language="javascript">
function search() {
var ss= document.searchForm.key.value;
window.location.href="SearchAction.do?key="+ss;
}
</script>
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolordark="#FFFFFF" bordercolorlight="#333333">
<tr bgcolor="efefef">
<td height="25" align="left" valign="middle" bgcolor="efefef"> <img src="images/f01.gif" width="12" height="12">栏目导航 </td>
</tr>
<tr>
<td width="100%" align="left" valign="top" bgcolor="f3f3f3">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<% String chdmenuID = ""+(String)request.getAttribute("chdmenuID");%>
<logic:iterate id="leftmenu" name="leftmenuList">
<tr>
<td width="20" align="right" valign="middle"><img src="images/arrow_i.gif" width="3" height="5"></td>
<td width="178" height="20"> <a href="<bean:write name="leftmenu" property="templateName"/>?menuid=<bean:write name="leftmenu" property="ID"/>&parentid=<bean:write name="leftmenu" property="parentID"/>" class="b">
<logic:equal name="leftmenu" property="ID" value="<%=chdmenuID%>" >
<span class="style13">[<bean:write name="leftmenu" property="menuName"/>]</span>
</logic:equal>
<logic:notEqual name="leftmenu" property="ID" value="<%=chdmenuID%>" >
[<bean:write name="leftmenu" property="menuName"/>]
</logic:notEqual>
</a></td>
</tr>
<tr>
<td align="right" valign="middle" background="images/line_grey_bg.gif"></td>
<td height="1" background="images/line_grey_bg.gif"></td>
</tr>
</logic:iterate>
</table>
</td>
</tr>
<tr bgcolor="efefef">
<td height="25" align="left" valign="middle" bgcolor="efefef"> <img src="images/f01.gif" width="12" height="12">在线搜索 </td>
</tr>
<tr>
<form name="searchForm" action="SearchAction.do">
<td width="100%"><input type="text" name="key" size="20"><a href="javascript:search()"> 搜索</a></td>
</form>
</tr>
</table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?