如题

解决方案 »

  1.   

    全局导航就是类似SOHU上面的目录,网页下半部分的内容可以不根据你点击的标题不断变化,但是上面的目录始终是保持不变的。懂了吗?~
      

  2.   

    在ASP中我用的是include 包含.在.net中用的是frameset
      

  3.   

    用iframe吧,在html里添加<iframe></iframe>实现
      

  4.   

    <%@ Page language="c#" Codebehind="getmmsinfo.aspx.cs" AutoEventWireup="false" Inherits="mms.WebForm1" %>
    <%@ Register TagPrefix="uc1" TagName="Title" Src="Title.ascx" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <title>WebForm1</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>
    <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
    <FONT face="宋体">
    <uc1:Title id="Title1" runat="server"></uc1:Title></FONT>
    </form>
    </body>
    </HTML>
    这里就调用了一个、用户自定义控件,<uc1:Title id="Title1" runat="server"></uc1:Title>
    这一段就是啦,仔细看看就知道了,别忘了还有顶部的空间注册的代码
      

  5.   

    <BODY scroll="no"style="MARGIN:0px">
    <TABLE border=0 cellPadding=0 cellSpacing=0 height=100% width=100%>
    <TR>
       <TD align=middle id=frmTitle noWrap vAlign=center>
         <IFRAME frameBorder=0 name=menu scrolling=auto src="Left.jsp" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:180px;Z-INDEX:2"></IFRAME>
       </TD>
       <TD bgColor=8FAFEF>
          <TABLE border=0 cellPadding=0 cellSpacing=0 height=100%>
            <tr>
          <TD onclick=switchSysBar() style=HEIGHT:100%>
                  <font style=COLOR:white;CURSOR:hand;FONT-FAMILY:Webdings;FONT-SIZE:9pt>
                  <SPAN id=switchPoint onmouseover="this.style.color='ffdd00'" onmouseout="this.style.color='000000'">3</SPAN>
                  </font>
          </TD>
    <tr>
          </TABLE>
       </td>
       <TD style=WIDTH:100%>
             <IFRAME frameBorder=0 id=main name=main scrolling=yes src=main.jsp style=HEIGHT:100%;VISIBILITY:inherit;WIDTH:100%;Z-INDEX:1></IFRAME>
       </td>
    </TR>
      </TABLE>
      

  6.   

    <%@ page contentType="text/html; charset=gb2312"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="ROBOTS" content="none">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <link href="Images/STYLE.CSS" rel=stylesheet type=text/css>
    <title>人民医院----后台管理</title>
    <SCRIPT>
        function switchSysBar(){
          if (switchPoint.innerText==3){
            switchPoint.innerText=4
            document.all("frmTitle").style.display="none"
          }else{
            switchPoint.innerText=3
            document.all("frmTitle").style.display=""
          }
        }
    </SCRIPT>
    </head>
    <BODY scroll="no"style="MARGIN:0px">
    <TABLE border=0 cellPadding=0 cellSpacing=0 height=100% width=100%>
    <TR>
       <TD align=middle id=frmTitle noWrap vAlign=center>
         <IFRAME frameBorder=0 name=menu scrolling=auto src="Left.jsp" style="HEIGHT:100%;VISIBILITY:inherit;WIDTH:180px;Z-INDEX:2"></IFRAME>
       </TD>
       <TD bgColor=8FAFEF>
          <TABLE border=0 cellPadding=0 cellSpacing=0 height=100%>
            <tr>
          <TD onclick=switchSysBar() style=HEIGHT:100%>
                  <font style=COLOR:white;CURSOR:hand;FONT-FAMILY:Webdings;FONT-SIZE:9pt>
                  <SPAN id=switchPoint onmouseover="this.style.color='ffdd00'" onmouseout="this.style.color='000000'">3</SPAN>
                  </font>
          </TD>
    <tr>
          </TABLE>
       </td>
       <TD style=WIDTH:100%>
             <IFRAME frameBorder=0 id=main name=main scrolling=yes src=main.jsp style=HEIGHT:100%;VISIBILITY:inherit;WIDTH:100%;Z-INDEX:1></IFRAME>
       </td>
    </TR>
      </TABLE>
    </BODY>
    </html>