frame框架 超链接

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

  解决方案:

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

  或者:

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

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

posted @ 2010-01-09 14:48  弹着钢琴设计  阅读(265)  评论(0编辑  收藏  举报