框架A中加入一句<base target="框架B名">

解决方案 »

  1.   

    demo.htm<iframe src="in.htm" name="title"></iframe>
    <iframe src="in2.htm" name="Content"></iframe>in.htm<a href="http://www.baidu.com" target="Content">baidu</a><br>
    <a href="http://www.csdn.net" target="Content">csdn</a><br>in2.htm
    Content.....
      

  2.   

    mainpage.asp
    <table>
      <tr>
        <td><iframe src="left.asp" name="left"></iframe></td>
        <td><iframe src="right.asp" name="right"></iframe></td>
      </tr>
    </table>left.asp
    这个页面为导航栏
    product1
    ....
    ....
    ....
    ....
    productn
    请教这里的链接该如何做?<a herf = ? ..............>right.asp
    此页面是动态的,根据left页面传过来的链接值来调用数据库。这样就比较详细了!
    请各位指点!
      

  3.   

    wanghr100(灰豆宝宝.net) 非常感谢!
    这个问题我已经解决了!但是产生了一个新问题:
    main.asp中的两个<iframe> left和right,为了页面美观都被scrolling=no
    同时在left和right页面中都已经
    parent.document.all("productLeft").height = document.body.scrollHeight;

    parent.document.all("productRight").height = document.body.scrollHeight;
    也就是说我的页面是在不添加滚动条的情况下,自动更改<iframe>的长度的。  现在,如果right.asp的起始页面比较短,那么通过left.asp链接过去的页面会被自动限制。不会自动扩展。
      请教该如何解决,若能搞定,我愿再加分!
      

  4.   


    呵呵,自己真是死脑筋!
    把通过left.asp链接过去的页面里也加上
    parent.document.all("productRight").height = document.body.scrollHeight;
    不就解决了吗?
    呵呵!好了好了!结帖了!
    谢谢大家!