左边框架的折叠显示
来源:互联网 发布:js超链接跳转页面 编辑:程序博客网 时间:2024/04/29 20:52
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="166" height="100%" id="leftmenu" style="WIDTH: 166px"><IFRAME style="VISIBILITY: inherit; WIDTH: 162px; HEIGHT: 100%" id="BoardLeft" name="BoardLeft"
marginWidth="0" frameSpacing="2" marginHeight="0" src="left.aspx" frameBorder="0" noResize scrolling="yes"></IFRAME>
</td>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0" background="images/admin_top_bg.gif">
<tr valign="middle">
<td width="30">
<img src="images/admin_top_close.gif" ID="PA" alt="关闭左边管理菜单" style="CURSOR:hand" onClick="javascript:ShowMenu(PA);">
<img src="images/admin_top_open.gif" ID="PB" alt="打开左边管理菜单" style="DISPLAY:none; CURSOR:hand"
onClick="javascript:closeMenu(PB);">
</td>
<td width="503" align="center">
<asp:Label id="lbcompany" runat="server"></asp:Label></td>
<td width="30" align="center"><a href="login.aspx"><img src="images/gohome.gif" alt="返回后台登录口" border="0"></a></td>
<td width="70" align="right"><a href="../index.aspx">返回首页</a> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" width="100%" height="100%"><IFRAME style="Z-INDEX: 3; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" id="sltpage"
name="sltpage" frameSpacing="1" src="pro.aspx" frameBorder="0" scrolling="yes"></IFRAME>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<script language="javascript">
<!--
function ShowMenu(TB)
{
if (TB = "PA"){
document.all("leftmenu").style.display="none";
document.all("PA").style.display="none";
document.all("PB").style.display="";
}
}
function closeMenu(TB)
{
if (TB = "PB"){
document.all("leftmenu").style.display="";
document.all("PB").style.display="none";
document.all("PA").style.display="";
}
}
-->
</script>
</body>
<form id="Form1" method="post" runat="server">
<table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="166" height="100%" id="leftmenu" style="WIDTH: 166px"><IFRAME style="VISIBILITY: inherit; WIDTH: 162px; HEIGHT: 100%" id="BoardLeft" name="BoardLeft"
marginWidth="0" frameSpacing="2" marginHeight="0" src="left.aspx" frameBorder="0" noResize scrolling="yes"></IFRAME>
</td>
<td valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0" background="images/admin_top_bg.gif">
<tr valign="middle">
<td width="30">
<img src="images/admin_top_close.gif" ID="PA" alt="关闭左边管理菜单" style="CURSOR:hand" onClick="javascript:ShowMenu(PA);">
<img src="images/admin_top_open.gif" ID="PB" alt="打开左边管理菜单" style="DISPLAY:none; CURSOR:hand"
onClick="javascript:closeMenu(PB);">
</td>
<td width="503" align="center">
<asp:Label id="lbcompany" runat="server"></asp:Label></td>
<td width="30" align="center"><a href="login.aspx"><img src="images/gohome.gif" alt="返回后台登录口" border="0"></a></td>
<td width="70" align="right"><a href="../index.aspx">返回首页</a> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" width="100%" height="100%"><IFRAME style="Z-INDEX: 3; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" id="sltpage"
name="sltpage" frameSpacing="1" src="pro.aspx" frameBorder="0" scrolling="yes"></IFRAME>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<script language="javascript">
<!--
function ShowMenu(TB)
{
if (TB = "PA"){
document.all("leftmenu").style.display="none";
document.all("PA").style.display="none";
document.all("PB").style.display="";
}
}
function closeMenu(TB)
{
if (TB = "PB"){
document.all("leftmenu").style.display="";
document.all("PB").style.display="none";
document.all("PA").style.display="";
}
}
-->
</script>
</body>
- 左边框架的折叠显示
- 框架集的折叠
- 折叠显示
- 可显示/隐藏左边控件的Splitter
- 可显示/隐藏左边控件的Splitter
- 让superfish的菜单在左边显示
- ActionBar中左边的图标不能显示?
- html框架折叠的javascript实现
- easyui里的layout折叠显示标题
- 左边显示图片的路径,右边显示图片的情况
- 奇怪!资源管理器左边的树形目录显示为灰色
- 怎么查看vs2005代码视图里左边显示的行数?
- ArcMap中不显示左边的Data Frame 解决方案
- Eclipse 不在左边显示导入的jar包
- MFC:在状态栏最左边显示鼠标当前的坐标
- C# DataGridView 在最左边的列显示行号
- ios8分割线左边不到头,显示全的方法
- 怎样改变Eclipse的左边目录显示结构
- C#串口操作
- 登陆界面的验证代码
- 数据仓库研究之一--为什么要用数据仓库
- 寂寞?!
- 索引与系统性能
- 左边框架的折叠显示
- 几个网络电视地址
- ASP
- vb-sqlserver-提示“列信息不足或不存在,修改多行”
- IPC
- VS.NET 2003 控件命名规范
- 图像镶嵌
- 系统服务详细说明
- 系统