left.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:2k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" pageEncoding="GBK"%>
- <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
- <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
- <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
- <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
- <link href="<%=request.getContextPath()%>/Css_file/oa.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- <!--
- body {
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- background-image: url(../Img_file/back4.jpg);
- }
- .STYLE3 {
- font-size: 18px;
- color: #0099FF;
- }
- -->
- </style>
- <script language="javascript">
- function displaymenu(id){
- var menuobject=document.getElementById(id);
- var img = document.getElementById(id+"_img");
- if(menuobject.style.display=="none"){
- menuobject.style.display="block";
- img.src="${pageContext.request.contextPath}/Img_file/close.png";
- }else{
- menuobject.style.display="none";
- img.src="${pageContext.request.contextPath}/Img_file/open.png";
- }
- }
- </script>
- <body>
- <div align="left" style="background: ${pageContext.request.contextPath}/Img_file/back3.jpg">
- <logic:iterate id="menu" name="pmenu" scope="request">
- <div align="left" style="margin-left: 10" onClick="displaymenu(${menu.fid})">
- <img src="${pageContext.request.contextPath}/Img_file/open.png" id="${menu.fid}_img">
- <logic:equal name="menu" property="fid" value="33">
- <a href="${pageContext.request.contextPath}/${menu.fpath}" target="mainFrame">${menu.fname}</a>
- </logic:equal>
- <logic:notEqual value="33" name="menu" property="fid">
- ${menu.fname}
- </logic:notEqual>
- </div><br/>
- <div align="left" id="${menu.fid}" style="display: none">
- <logic:iterate id="xmenu" name="cmenu" scope="request">
- <logic:equal name="xmenu" property="fpid" value="${menu.fid}">
- <div align="left" id="${xmenu.fid}" style="margin-left: 30">
- <a href="${pageContext.request.contextPath}/${xmenu.fpath}" target="mainFrame">${xmenu.fname}</a>
- </div><br/>
- </logic:equal>
- </logic:iterate>
- </div>
- </logic:iterate>
- </div>
- </body>