zoukankan      html  css  js  c++  java
  • 一个链接同时控制两个帧的方法

    主页面代码

    <frameset rows="91,*,37" cols="*" framespacing="1" frameborder="no" border="0" bordercolor="#3333FF">
     <frame src="topframe.aspx" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" title="topFrame" />
      <FRAMESET rows="*" COLS="180,6,*" FRAMESPACING="0" FRAMEBORDER="no" BORDER="0" id="mainframe" name="mainframe">
       <FRAME src='leftframe.aspx?kuangbie=<% =Server.UrlEncode(kuangbie) %>&modelid=<% =modelID %>' name="left">
          <frame scrolling=no noresize="true" name=toogle marginwidth=0 marginheight=0 src='wtoogle.html'  onmouseover='this.style.cursor="hand";' onclick='window.open("wtoogle.html");' style="cursor:pointer" >
       <FRAME src='main.aspx'id="main"  NAME="main">
      </FRAMESET>
     <frame src="down.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
    </frameset>

    链接页面代码

     <a id="teste" onclick="javascript:parent.main.location.href='Error.htm'" href='leftframe.aspx?kuangbie=<%=Server.UrlEncode(kuangbie) %>&modelid=<%#Eval("ModelID") %>' target="left">

  • 相关阅读:
    第二阶段冲刺进程2
    第二阶段冲刺进程1
    Alpha版使用说明
    回复每组的意见的评价
    每个组针对本组提出的意见的整理
    软件项目第一次Sprint总结
    站立会议7
    站立会议6
    团队博客11
    团队博客10
  • 原文地址:https://www.cnblogs.com/windphoenix/p/1517506.html
Copyright © 2011-2022 走看看