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">

  • 相关阅读:
    vue-cli的npm run build的常见问题
    es6 Symbol
    es6 对象的扩展
    es7 函数绑定
    es6 箭头函数
    学习weex遇见非常奇怪的问题
    微信
    java面试题
    PHP面试题
    Android
  • 原文地址:https://www.cnblogs.com/windphoenix/p/1517506.html
Copyright © 2011-2022 走看看