我在制作一个网页,左面是菜单列表。如何在左面列表做一个连接,打开的网页显示在同一个网页右边的区域?

解决方案 »

  1.   

    frameset分割成两部分 左边的链接 target=右边的frame名字
      

  2.   

    iframe<ifame src=""  />在网上找找就有相关的资料
      

  3.   

    <iframe src="想要打开的页面"  name="frame的名字"></iframe>
      

  4.   

    类似下面这种,只要左边加链接列表就成了:
    main.html:<html>
    <head>
    </head>
    <frameset cols="200px,*">
     <frame name="leftFrame" src="link.html" noresize="yes"  border="1px"  scrolling="auto" bordercolor="blue" >
     <frame name='mainFrame' src="http://www.baidu.com" > 
    </frameset>
    </html>link.html:<html>
    <head>
    </head>
     <a href='http://www.baidu.com' target='mainFrame'>百度</a>
     <br>
      <a href='http://www.google.com.cn' target='mainFrame'>Google</a>
       <br>
      <a href='http://www.csdn.net' target='mainFrame'>CSDN</a>
    </html>