在框架中,可以实现折叠框架效果代码
来源:互联网 发布:学好c语言能做什么 编辑:程序博客网 时间:2024/05/22 14:53
Main.htm
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
</head>
<frameset rows="102,*" frameborder="NO" border="0" framespacing="0" name="topset">
<frame name="topFrame" scrolling="NO" noresize src="Top.aspx">
<frameset rows="*" cols="204,*" framespacing="0" frameborder="no" border="0" name="middleset">
<frame name="leftFrame" noresize src="left.aspx">
<frameset rows="*" cols="5,*" framespacing="0" frameborder="NO" border="0">
<frame src="spliter.aspx" name="spliterFrame" scrolling="NO" noresize>
<frame name="mainFrame" src="Main.aspx">
</frameset>
</frameset>
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>
Top.aspx为顶部页
left.aspx为左边菜单页
spliter.aspx为控制页(控制left.aspx)
Main.aspx为默认内容页
spliter.aspx
<%@ Page language="c#" Codebehind="Spliter.aspx.cs" AutoEventWireup="false" Inherits="LiTianPing.Web.Spliter" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>Spliter</title>
<style type="text/css">
<!--
a { color: <%=Application[Session["Style"].ToString()+"xtree_bgcolor"]%>; text-decoration: none}
a:hover { color:red;text-decoration: none}
-->
</style>
<meta name="CODE_LANGUAGE" Content="C#">
<meta name=vs_defaultClientScript content="JavaScript">
</head>
<body bgcolor='<%=Application[Session["Style"].ToString()+"xspliter_color"]%>' leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onMouseOver="if(parent.middleset.cols='0,*'){parent.middleset.cols='<%=Application[Session["Style"].ToString()+"xleft_width"]%>,*'}" onClick="if(parent.middleset.cols!='0,*'){parent.middleset.cols='0,*'}else{parent.middleset.cols='<%=Application[Session["Style"].ToString()+"xleft_width"]%>,*'};" style="cursor: hand">
<form id="Form1" method="post" runat="server">
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</p>
<br/>
<table width="5" height="70" border="0" cellpadding="0" cellspacing="0" bgcolor='<%=Application[Session["Style"].ToString()+"xspliter_color"]%>'>
<tr>
<td height="2" bgcolor='<%=Application[Session["Style"].ToString()+"xtree_bgcolor"]%>'></td>
</tr>
<tr>
<td><font color='<%=Application[Session["Style"].ToString()+"xtree_bgcolor"]%>'>]</font></td>
</tr>
<tr>
<td height="2" bgcolor='<%=Application[Session["Style"].ToString()+"xtree_bgcolor"]%>'></td>
</tr>
</table>
</form>
</body>
</html>
- 在框架中,可以实现折叠框架效果代码
- jQuery实现的简单折叠菜单(折叠面板)效果代码
- javascript+css代码实现折叠效果
- DRNRealTimeBlur 框架可以实现高斯模糊效果
- html框架折叠的javascript实现
- 利用Volley框架开发实战(快速开发,代码直接可以用在实战中...)
- js代码和css代码实现折叠效果
- 三栏式折叠框架
- 框架集的折叠
- js框架jquery实现分页效果代码下载
- 在代码中实现android:tint效果
- eclipse中实现代码块的折叠
- jQuery实现折叠效果
- 折叠效果实现
- 可以在项目中使用的一些框架
- 怎么在pycharm中让按照任意的格式折叠代码块,比如让每个for循环都可以折叠起来
- 框架页面尽可以这么用(后置代码中控制框架)
- 框架页面尽可以这么用(后置代码中控制框架)
- 完全有效的autorun病毒清除代码[批处理]
- test
- 我没有很想你
- VB的一些常用代码***(转贴)***
- Eclipse 平台入门
- 在框架中,可以实现折叠框架效果代码
- 2.0中 Access数据库 连接
- Access2007 数据库连接
- 关于Sybase ASE数据库的命名来历
- 我居然睡着了!?
- 关于c++0x
- CSS基础
- 年终小结(2007年2月)
- html隐藏div