frame框架 超链接

  问题描述:点击页面左边框架内的超链接后,右边的框架指向目标页

  解决方案:

  <script>parent.frames[“FrameRight”].location=“xxx.aspx”</script>

  或者:

  <script>window.open(“xx.aspx”,“FrameRight”)</script>

  注:这里的FrameRight是<frame></frame>的name属性值

原文地址:https://www.cnblogs.com/pricks/p/1642928.html