<a href="" target="rightFrame" />

解决方案 »

  1.   

    如果使用 A 连接,则 <a href="" target="rightFrame"/>Web 开发</a>
    或者用: top.frames[1].location.href = 'test.asp'
      

  2.   

    我试过了,这样好像行不通的
    我的结构和CSDN一样的,就是左边框架点一下会缩到旁边去的那种
      

  3.   

    我的源文件是这样的:
    <HTML>
    <HEAD>
    <TITLE>多框架效果</TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <META NAME="Author" CONTENT="Powerful">
    <META NAME="Description" CONTENT="Power">
    <style>
    .navPoint {
    COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt
    }
    </style>
    <SCRIPT>
    function switchSysBar(){
    if (switchPoint.innerText==3){
    switchPoint.innerText=4
    document.all("frmTitle").style.display="none"
    }
    else{
    switchPoint.innerText=3
    document.all("frmTitle").style.display=""
    }
    }
    </SCRIPT>
    </HEAD>
    <BODY bgColor=#487dd9 scroll=no style="MARGIN: 0px">
    <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%" width="100%">
      <TBODY>
        <TR> 
          <TD align=middle id=frmTitle noWrap vAlign=center name="fmTitle"><IFRAME 
          frameBorder=0 id=left name=left src="./Work/left.htm" 
          style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 143px; Z-INDEX: 2"></IFRAME> 
          <TD bgColor=#425bb8 style="WIDTH: 10pt"> <TABLE border=0 cellPadding=0 cellSpacing=0 height="100%">
              <TBODY>
                <TR> 
                  <TD onclick=switchSysBar() style="HEIGHT: 100%"><SPAN class=navPoint 
                id=switchPoint title=关闭/打开左栏>3</SPAN></TD>
                </TR>
              </TBODY>
            </TABLE></TD>
          <TD style="WIDTH: 100%"><IFRAME frameBorder=0 id=frmright name=frmright       scrolling=no src="./Work/right.htm" 
          style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1"> </IFRAME></TD>
        </TR>
      </TBODY>
    </TABLE>
    </BODY>
    </HTML> 
    以下是left.htm中的一小段
    <div id="KB3Parent" class="parent"><a href="#" onClick="expandIt('KB3'); return false" >运输时间管理</a></div>
    <div id="KB3Child" class="child"> 
       &nbsp;&nbsp;<a href="time/timeMag.htm" target="mainFrame" >任务节点时间</a><br>
       &nbsp;&nbsp;<a href="time/time.htm" target="mainFrame" >时间调整原因</a><br>
    </div>我相点击;<a href="time/timeMag.htm" target="mainFrame" >任务节点时间</a><br>,让他的内容在右边呈现,该怎么写啊? 改成target="right.htm"是没用的,我试过了,哪位高手能解决这个难题啊?谢谢啦,我继续加分!!!
      

  4.   

    网页设定为左右框架,假设左侧框架name为manage_frame,右侧主框架为mainframe,同时一个
    <td id="frameshow"><a href=javascript:oa_tool()>显示导航</a></td>
    function oa_tool(){
    if(window.parent.manage_frame.cols=="0,*"){
    //frameshow.i="up.gif";
    //oa_tree.title="隐藏工具栏"
    window.parent.manage_frame.cols="120,*";
    }
    else{
    frameshow.innerText="";
    window.parent.manage_frame.cols="0,*";}
    }
      

  5.   

    index.htm
    -------------------------------
    <FRAMESET ROWS="100,*">
    <FRAME SRC="left.htm" NAME="left">
    <FRAME SRC="" NAME="main">
    </FRAMESET>left.htm
    -------------------------------
    <A HREF="main.htm" target="main">goto</A>main.htm
    -------------------------------
    this is the main page