Main_Left.jsp
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:7k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page language="java" contentType="text/html; charset=utf-8"%>
- <%@ taglib uri="../WEB-INF/Letter.tld" prefix="l" %>
- <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>无标题页</title>
- <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- function quit(url)
- {
- ht = parent.document.getElementsByTagName("html");
- ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
- if (!confirm("您确定要退出系统吗?"))
- {
- ht[0].style.filter = "";
- return;
- }
- parent.location=url;
- }
- </script>
- <script type="text/javascript">
- var activeTxtObj = null;
- var selectedSubMenu=null;
- function showBar(para)// 状态栏展开关闭 v2.0 2005-10-31
- {
- var BarObj;
- switch(para)
- {
- case 1:
- document.body.scroll="no";
- BarObj=getObject("leftBar");
- BarObj.style.display="none";
- BarObj=getObject("rightBar");
- BarObj.style.display="";
- parent.mainFrmset.cols="23,*";
- break;
- case 2:
- document.body.scroll="auto";
- BarObj=getObject("leftBar");
- BarObj.style.display="";
- BarObj=getObject("rightBar");
- BarObj.style.display="none";
- parent.mainFrmset.cols="180,*";
- break;
- }
- }
- function getObject(obj){//取得对像 v2.0 2005-10-31
- return document.getElementById(obj);
- }
- function showDiv(obj,count){//显示或隐藏菜单 v2.0 2005-10-31
- var obj = getObject(obj);
- for(k = 1;k<=count;k++){
- var nobj = getObject("mode_"+k);
- if(nobj != obj){
- nobj.style.display = "none";
- }
- }
- if(obj.style.display == "none"){
- obj.style.display="";
- }else{
- obj.style.display="none";
- }
- tdobj=obj.parentNode.rows[obj.rowIndex-1].cells[0];
- if (activeTxtObj!=null)
- {
- activeTxtObj.className='outTD';
- activeTxtObj = null;
- }
- activeTxtObj=tdobj;
- cBG(tdobj,'overTD');
- }
- function cBG(obj,sName) //设置对像的CSS v2.0 2005-10-31
- {
- if (activeTxtObj==obj){
- activeTxtObj.className='overTD';
- return;
- }
- if (selectedSubMenu==obj) {
- selectedSubMenu.className="SelectedSubTD";
- return;
- }
- obj.className = sName
- }
- function menuclick(tdObj,URL,Target) //子菜单设置并改变操作窗 v2.0 2005-10-31
- {
- if (selectedSubMenu!=null) selectedSubMenu.className= "outSubTD";
- selectedSubMenu = tdObj;
- tdObj.className = "SelectedSubTD";
- if(Target!="rightFrm"){
- window.open(URL,Target)}
- else{
- eval("parent."+Target).document.location = URL; }
- }
- function selectsubmenu(tdid)//子菜单被选择时设置CSS
- {
- var tdObj = getObject(tdid);
- if (tdObj == null) return;
- var strMenu = tdid.substring(0,tdid.length-2);
- showDiv(strMenu);
- if (selectedSubMenu!=null) selectedSubMenu.className= "outSubTD";
- selectedSubMenu = tdObj;
- tdObj.className = "SelectedSubTD";
- }
- </script>
- </head>
- <body>
- <form id="form1" action="">
- <table class="MainTable" style="height:100%" cellspacing="0" cellpadding="0" width="180" border="0">
- <tbody>
- <tr>
- <td id="leftbar" valign="top" width="180" bgcolor="#f7f7f7">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td width="100%" align="right" background="<%=request.getContextPath()%>/Manage/images/Left_Top1.jpg" id="Td1">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tbody>
- <tr>
- <td width="153"> </td>
- <td width="27">
- <a title="隐藏工具栏" onclick="showBar(1)" href="#">
- <img height="19" src="<%=request.getContextPath()%>/Manage/images/Left_Botton1.jpg" width="23" border="0" align="middle" alt="" />
- </a>
- </td>
- </tr>
- </tbody>
- </table>
- </td>
- </tr>
- </tbody>
- </table>
- <c:forEach var="fmodel" items="${modelList}" varStatus="status">
- <table cellspacing="2" cellpadding="0" width="99%" align="center" border="0">
- <tbody>
- <tr style="height:24px">
- <td height="24" align="left" valign="middle" class="outTD" onclick="showDiv('mode_<c:out value="${status.count}" />',<c:out value="${modelLength}" />)" onmouseover="cBG(this,'overTD')" onmouseout="cBG(this,'outTD')">
-
- <img height="18" src="<%=request.getContextPath()%>/Manage/images/ioce/webbaiss.gif" width="18" align="middle" alt="" /><l:out CNLetter="${fmodel.mod_CnName}" ENLetter="${fmodel.mod_EnName}" />
- </td>
- </tr>
- <tr id="mode_<c:out value="${status.count}" />" style="display: none">
- <td>
- <!-- begin -->
- <table cellspacing="1" cellpadding="3" width="99%" align="center" border="0">
- <tbody>
- <c:forEach var="cmodel" items="${fmodel.childModel}" varStatus="status1">
- <tr style="height:18px">
- <td height="18" class="outSubTD" onclick="menuclick(this,'<%=request.getContextPath()%><l:out CNLetter="${cmodel.mod_Url}" ENLetter="${cmodel.mod_EnUrl}"/>','rightFrm')"
- onmouseover="cBG(this,'overSubTD')" onmouseout="cBG(this,'outSubTD')">
-
- <img height="7" src="<%=request.getContextPath()%>/Manage/images/ioce/arrowLTR.gif" width="4" alt="" /> <l:out CNLetter="${cmodel.mod_CnName}" ENLetter="${cmodel.mod_EnName}" />
- </td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- <!-- end -->
- </td>
- </tr>
- </tbody>
- </table>
- </c:forEach>
- </td>
- <td id="rightbar" style="display: none" valign="top" bgcolor="#f7f7f7">
- <a title="显示工具栏" onclick="showBar(2)" href="#">
- <img height="19" src="<%=request.getContextPath()%>/Manage/images/Left_Botton2.jpg" width="23" border="0" alt="" />
- </a>
- </td>
- </tr>
- </tbody>
- </table>
- </form>
- </body>
- </html>