?? treemenu.jsp
字號:
<%@ page import="net.sf.jsptree.example.TestFactory,
net.sf.jsptree.skin.AbstractSkin,
net.sf.jsptree.*"%>
<%@ taglib uri="http://jsptree.sourceforge.net/jsptree.tld" prefix="sf"%>
<%-- Layout component parameters : title, header, menu, body, footer --%>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<link rel="stylesheet" href="<%=request.getContextPath()%>/jsptree-example.css" type="text/css">
<title>JSP Tree Example</title>
</HEAD>
<BODY marginheight="0" MARGINWIDTH="0" topmargin="0" leftmargin="0" border="0">
<%--HEADER TABLE --%>
<TABLE border="0" CELLPADDING="0" CELLSPACING="0" WIDTH="800">
<jsp:include page="header.jsp" />
</TABLE>
<%--MAIN TABLES--%>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="800" HEIGHT="100%" VALIGN="TOP">
<TR>
<%--LEFT TABLE--%>
<TD BGCOLOR="#FFFFFF" WIDTH="20%" HEIGHT="100%" VALIGN="TOP">
<%
String imagePath = request.getContextPath()+"/imgs/tree/menu/blue/";
%>
<sf:JSPTree name="demoTree"
xtree="net/sf/jsptree/example/xmlTree.xml"
startAtDepth="0"
imagesPath="<%=imagePath%>"
templatePath="net/sf/jsptree/example/template/menu/"
shareTreeStructure="false"
skin="<%=AbstractSkin.MENU_SKIN%>" />
</TD>
<%--RIGHT TABLE--%>
<TD BGCOLOR="#D1CEDF" HEIGHT="100%" VALIGN="TOP" WIDTH="80%" valign="center">
<jsp:include page="body.jsp" />
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -