document.all["iframe的ID"].src = "你所指向的页面";

解决方案 »

  1.   

    <a href="2.htm" target="下方frame名字">rrrrrrrrrrrrrr</a>
      

  2.   

    假设框架页面为main.htm, 内置up,down两个frame如下:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> New Document </TITLE>
    <META http-equiv=Content-Type content="text/html; charset=gb2312">
    <META NAME="Author" CONTENT="Seagle.K">
    </HEAD>
    <FRAMESET ROWS="50%,*">
    <FRAME SRC="up.htm" NAME="up">
    <FRAME SRC="down.htm" NAME="down">
    </FRAMESET>
    </HTML>则在up.htm设置如下代码可改变down.htm页面
    <a href="http://www.163.com/" target="down">用target改变down框架内的页面</a>
    <a href="http://www.163.com/" onclick="parent.frames['down'].location.href=this.href;return false">用脚本改变down框架内的页面</a>
      

  3.   

    按你说的,在链接的target中,指定框架的名字就可以了,按二楼所说
      

  4.   

    parent.otherFrameName.location.href = "abc.htm";
    <a href="abc.htm" target="otherFrameName">
    window.open("abc.htm", "otherFrameName");  //三法都行, 注意 framename的大小写
      

  5.   


    document.all["iframe的ID"].src = "你所指向的页面";
    就是这样啊
      

  6.   

    也可以 
    document.all["frameID"].location.href = "";