1.如图:
带隐藏功能的菜单导航

2.代码如下:

带隐藏功能的菜单导航带隐藏功能的菜单导航Code
带隐藏功能的菜单导航带隐藏功能的菜单导航<%带隐藏功能的菜单导航@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Leasear.LeaWeb.Default" %>
带隐藏功能的菜单导航
带隐藏功能的菜单导航
<html>
带隐藏功能的菜单导航
<head runat="server">
带隐藏功能的菜单导航    
<title>Untitled Page</title>
带隐藏功能的菜单导航
带隐藏功能的菜单导航    
<script src="inc/FineMessBox/js/common.js" type="text/javascript"></script>
带隐藏功能的菜单导航
带隐藏功能的菜单导航    
<script src="inc/FineMessBox/js/subModal.js" type="text/javascript"></script>
带隐藏功能的菜单导航
带隐藏功能的菜单导航带隐藏功能的菜单导航    
<style type="text/css">带隐藏功能的菜单导航
带隐藏功能的菜单导航        BODY
带隐藏功能的菜单导航带隐藏功能的菜单导航        
{带隐藏功能的菜单导航}{
带隐藏功能的菜单导航            font-size
: 12px;
带隐藏功能的菜单导航            font-family
: "Verdana" , "Arial" , "细明体" , "sans-serif";
带隐藏功能的菜单导航        
}

带隐藏功能的菜单导航        table
带隐藏功能的菜单导航带隐藏功能的菜单导航        
{带隐藏功能的菜单导航}{
带隐藏功能的菜单导航            font-size
: 12px;
带隐藏功能的菜单导航            font-family
: "Verdana" , "Arial" , "细明体" , "sans-serif";
带隐藏功能的菜单导航        
}

带隐藏功能的菜单导航    
</style>
带隐藏功能的菜单导航
</head>
带隐藏功能的菜单导航
<body scroll="no" onbeforeunload="return CloseEvent();" leftmargin="0" topmargin="0"
带隐藏功能的菜单导航    marginheight
="0" marginwidth="0">
带隐藏功能的菜单导航    
<form id="form1" runat="server">
带隐藏功能的菜单导航    
<div>
带隐藏功能的菜单导航        
<table id="TableMain" border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
带隐藏功能的菜单导航            
<tr>
带隐藏功能的菜单导航                
<td id="Header" width="100%" height="25" colspan="3" style="border-bottom: 1px solid #000000">
带隐藏功能的菜单导航                    
&nbsp;
带隐藏功能的菜单导航                    Header
</td>
带隐藏功能的菜单导航            
</tr>
带隐藏功能的菜单导航            
<tr>
带隐藏功能的菜单导航                
<td id="frmTitle" nowrap="nowrap" valign="middle" align="center" width="180" style="height: auto;
带隐藏功能的菜单导航                    border-right: 1px solid #000000"
>
带隐藏功能的菜单导航                    
<iframe name="BoardTitle" style="height: 100%; visibility: inherit; width: 180; z-index: 2"
带隐藏功能的菜单导航                        scrolling
="auto" frameborder="0" src="Left.aspx"></iframe>
带隐藏功能的菜单导航                
</td>
带隐藏功能的菜单导航                
<td style="width: 7pt" bgcolor="#7898A8" width="10" title="关闭/打开左栏">
带隐藏功能的菜单导航                    
<img border="0" src="images/Menu/close.gif" id="menuimg" alt="隐藏左栏" onmouseover="javascript: menuonmouseover();"
带隐藏功能的菜单导航                        onmouseout
="javascript: menuonmouseout();" onclick="javascript:switchSysBar()"
带隐藏功能的菜单导航                        style
="cursor: hand" width="11" height="76" />
带隐藏功能的菜单导航                
</td>
带隐藏功能的菜单导航                
<td style="width: 100%">
带隐藏功能的菜单导航                    
<iframe id="mainFrame" name="mainFrame" style="height: 100%; visibility: inherit;
带隐藏功能的菜单导航                        width: 100%; z-index: 1"
 scrolling="auto" frameborder="0" src="Right.aspx"></iframe>
带隐藏功能的菜单导航                
</td>
带隐藏功能的菜单导航            
</tr>
带隐藏功能的菜单导航            
<tr>
带隐藏功能的菜单导航                
<td colspan="3" height="20">
带隐藏功能的菜单导航                    
<table cellpadding="0" cellspacing="0" border="0" height="20" width="100%">
带隐藏功能的菜单导航                        
<tr bgcolor="Black">
带隐藏功能的菜单导航                            
<td width="200px">
带隐藏功能的菜单导航                            
</td>
带隐藏功能的菜单导航                            
<td style="padding-right: 50px">
带隐藏功能的菜单导航                                
<button name="xsubmit" class="down_tools_button" onclick="javascript:showPopWin('About','About.aspx',510, 170, null,false)">
带隐藏功能的菜单导航                                    
&nbsp;版本信息</button>
带隐藏功能的菜单导航                                
<button name="xsubmit" class="down_tools_button" onclick="javascript: window.mainFrame.location.href='Right.aspx'">
带隐藏功能的菜单导航                                    回到首页
</button>
带隐藏功能的菜单导航                                
<button name="xsubmit" class="down_tools_button" onclick="javascript: window.top.location.href = 'Logout.aspx'">
带隐藏功能的菜单导航                                    
&nbsp;退出系统</button>
带隐藏功能的菜单导航                                
<button name="xsubmit" class="down_tools_button" onclick="javascript:window.open('http://framework.supesoft.com/help/');">
带隐藏功能的菜单导航                                    
&nbsp;帮助手册</button>
带隐藏功能的菜单导航                            
</td>
带隐藏功能的菜单导航                        
</tr>
带隐藏功能的菜单导航                    
</table>
带隐藏功能的菜单导航                
</td>
带隐藏功能的菜单导航            
</tr>
带隐藏功能的菜单导航        
</table>
带隐藏功能的菜单导航    
</div>
带隐藏功能的菜单导航    
</form>
带隐藏功能的菜单导航
</body>
带隐藏功能的菜单导航
</html>
带隐藏功能的菜单导航
带隐藏功能的菜单导航带隐藏功能的菜单导航
<script language="javascript" type="text/javascript">带隐藏功能的菜单导航
带隐藏功能的菜单导航
带隐藏功能的菜单导航带隐藏功能的菜单导航
function switchSysBar()带隐藏功能的菜单导航{
带隐藏功能的菜单导航
带隐藏功能的菜单导航     
if (document.all("frmTitle").style.display=="none"
带隐藏功能的菜单导航带隐藏功能的菜单导航     
带隐藏功能的菜单导航{
带隐藏功能的菜单导航        document.all(
"frmTitle").style.display=""
带隐藏功能的菜单导航        menuimg.src
="images/Menu/close.gif";
带隐藏功能的菜单导航        menuimg.alt
="隐藏左栏"
带隐藏功能的菜单导航        }

带隐藏功能的菜单导航带隐藏功能的菜单导航    
else 带隐藏功能的菜单导航{
带隐藏功能的菜单导航        document.all(
"frmTitle").style.display="none"
带隐藏功能的菜单导航        menuimg.src
="images/Menu/open.gif";
带隐藏功能的菜单导航        menuimg.alt
="开启左栏"
带隐藏功能的菜单导航     }

带隐藏功能的菜单导航     
带隐藏功能的菜单导航     
带隐藏功能的菜单导航
带隐藏功能的菜单导航}

带隐藏功能的菜单导航
带隐藏功能的菜单导航带隐藏功能的菜单导航 
function menuonmouseover()带隐藏功能的菜单导航{
带隐藏功能的菜单导航带隐藏功能的菜单导航         
if (document.all("frmTitle").style.display=="none"带隐藏功能的菜单导航{
带隐藏功能的菜单导航         menuimg.src
="images/Menu/open_on.gif";
带隐藏功能的菜单导航         }

带隐藏功能的菜单导航带隐藏功能的菜单导航         
else带隐藏功能的菜单导航{
带隐藏功能的菜单导航         menuimg.src
="images/Menu/close_on.gif";
带隐藏功能的菜单导航         }

带隐藏功能的菜单导航 }

带隐藏功能的菜单导航带隐藏功能的菜单导航 
function menuonmouseout()带隐藏功能的菜单导航{
带隐藏功能的菜单导航带隐藏功能的菜单导航         
if (document.all("frmTitle").style.display=="none"带隐藏功能的菜单导航{
带隐藏功能的菜单导航         menuimg.src
="images/Menu/open.gif";
带隐藏功能的菜单导航         }

带隐藏功能的菜单导航带隐藏功能的菜单导航         
else带隐藏功能的菜单导航{
带隐藏功能的菜单导航         menuimg.src
="images/Menu/close.gif";
带隐藏功能的菜单导航         }

带隐藏功能的菜单导航 }

带隐藏功能的菜单导航 
带隐藏功能的菜单导航     
if(top!=self)
带隐藏功能的菜单导航带隐藏功能的菜单导航    
带隐藏功能的菜单导航{
带隐藏功能的菜单导航        top.location.href 
= "default.aspx";
带隐藏功能的菜单导航    }

带隐藏功能的菜单导航
var gDefaultLogin = "inc/finemessbox/loading.html";  
带隐藏功能的菜单导航
</script>
带隐藏功能的菜单导航
带隐藏功能的菜单导航


 

 

转载于:https://www.cnblogs.com/Tonyyang/archive/2008/01/18/1044652.html

相关文章: