asp.net中"品"字形框架的设计问题
在一个页面中有上框架:top,下框架分为:左框架left、右框架main,即“品”字形的设计。top框架放菜单页(top框架中的页在以下的操作中都不改变),left框架放目录页(目录页是随着菜单页中所选的不同而改变),main框架放相关的操作页)操作页是随着目录页中所选的不同而改变)请问这些页面的跳转怎样用代码实现?????
------解决方案-------------------- <%@ Page language= "c# " Codebehind= "Default.aspx.cs " AutoEventWireup= "false " Inherits= "WebLiveMessage.Admin._Default " %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<HTML>
<HEAD>
<TITLE> 管理后台 </TITLE>
<meta name= "GENERATOR " Content= "Microsoft Visual Studio .NET 7.1 ">
<meta name= "CODE_LANGUAGE " Content= "C# ">
<meta name= "vs_defaultClientScript " content= "JavaScript ">
<meta name= "vs_targetSchema " content= "http://schemas.microsoft.com/intellisense/ie5 ">
</HEAD>
<frameset rows= "102,* " cols= "* " frameborder= "0 " framespacing= "0 ">
<frame src= "Top.aspx " name= "top " scrolling= "no " noresize>
<frameset rows= "* " cols= "240,* " framespacing= "8 " frameborder= "1 " bordercolor= "#3366cc ">
<frame src= "Left.aspx " name= "leftFrame ">
<frame src= "Main.aspx " name= "mainFrame ">
</frameset>
</frameset>
</HTML>
------解决方案--------------------注意name和target就可以了。
------解决方案-------------------- <html>
<frameset rows= "15%,85% ">
<frame src= " ">
<frameset cols= "20%,80% ">
<frame src= "Tree.aspx " target= "main ">
<frame noresize= "noresize " src= "Tree.aspx " name= "main ">
</frameset>
</frameset>
</html>