有人明白吗?
是如何转向的

解决方案 »

  1.   

    main.htm<html>
    <head>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
    <title></title>
    </head><frameset rows="60,*" framespacing="1" border="1" frameborder="1">
      <frame name="banner" scrolling="no" noresize target="contents" src="baner.htm" marginwidth="0" marginheight="0">
      <frameset cols="25%,*">
        <frame name="contents"  src="left.php" scrolling="auto" style="background-color: #DFD620">
        <frame name="right" target="right" name="rightframe" src="right.php" scrolling="auto">
      </frameset>
      <noframes>
      <body>  <p>此网页使用了框架,但您的浏览器不支持框架。</p>
        </body>
      </noframes>
    </frameset></html>left.php<html>
    <head>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
    <title></title>
    </head>
      <body>
    <?php
    $aaa="aaa.php";//可以是动态生成
    ?>
      <a href="right.php?mainphp=<?php echo $aaa;?>" target="rightframe">test</a>  
      </body>
    </html>