frameset

<HTML>
  <HEAD><TITLE> <%=System.Configuration.ConfigurationManager.AppSettings["SystemName"].ToString()%> </TITLE>
  </HEAD>
 <frameset id="mm" border="0" name="mm" frameSpacing="0" rows="" frameBorder="no">
  <frameset id="mm" border="0" name="mm" frameSpacing="0" rows="80,*" frameBorder="no">
   <frame name="top" src="GTop.aspx?<%=strParam%>" noResize scrolling="no" target="middle">
   <frame name="panel" src="Panel.aspx?<%=strParam%>" scrolling="no">
  </frameset>
 </frameset>
</HTML>

 

刷新一个frame
function refresh() {

            window.parent.frames["panel"].location.reload(); 
        }


刷新整页
<a href="GIndex.aspx?<%=strParam %>" target="_parent"><img src="images/icons/home.gif" width="23" height="22"  alt="首页" /></a>

刷新一个frame
 <a href="#"  onclick="refresh();"><img src="Skins/images/head/btn_Refresh.png" width="23" height="22" alt="刷新" /></a>

整页全部跳转登陆页
<a href="StartLogin.aspx"  target="_top"><img src="images/icons/key.gif" width="23" height="22"  alt="注销系统" /></a>

关闭整个框架
<a href="javascript:top.close()" ><img src="Skins/images/head/ico_Exit.png" width="23" height="22"  alt="退出系统" /></a>

你可能感兴趣的:(FRAMESET)