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

  • 相关阅读:
    GetClassLoader和GetCallerClass的使用
    Maven的生命周期和插件
    对象池原理简要描述
    Git x SVN rebase事故
    Git 二进制文件冲突解决
    Git x SVN 当前工作流程
    Laya 项目解耦
    Laya 利用JS进行反射
    Laya Tween 和 遮罩
    Laya Tween循环
  • 原文地址:https://www.cnblogs.com/windphoenix/p/1517506.html
Copyright © 2011-2022 走看看