要做的事很简单,就是上面我所说的用脚本把mainRightFrame.htm的页面指向pass.htm

解决方案 »

  1.   

    仔细算算!
    .......parent.WinName.location
      

  2.   

    我有些不明白啊!我在login_down.htm中用脚本把topFrame_right.htm的页面指向pass.htm
    parent.topFrame_right.location.href ="pass.htm"对的呀!照例mainRightFrame.htm就不对了!!!!!!!!!!!!!!!????????????????????
      

  3.   

    try           top.topFrame_tight.locationparent是父框架,top是顶层框架,也就是跟
      

  4.   

    稻草人:parent.topFrame_right.location.href ="pass.htm" 是正确的
    我要解决的是parent.mainRightFrame.location.href ="pass.htm"不正确
      

  5.   

    ****test.asp
    <frameset cols="25%,*" frameborder="YES" border="0" framespacing="0"> 
      <frame name="mainLeftFrame"  scrolling="NO" noresize src="Left.asp">
      <frame name="mainRightFrame" src="right.asp">
    </frameset>***left.asp
    <script language=javascript>
    function link()
    {
    parent.mainRightFrame.location.href ="third.asp"
    }
    </script>
    <input type="button" onclick="link()" value="linkright">****right.asp
    right****third.asp
    third