现在我想让页面左边一个FRAME 右边一个FRAME
左边有一系列链接
比如有搜狐的链接,
新浪的链接
谷歌的链接右边初始化是空白,什么都没有,或者是一张图片
然后点左边的任意一个链接,右边出现相应的网页,这个该怎么实现呢?

解决方案 »

  1.   

    在左边:
    <a href="www.sina.com" target="rightFrame">
    //给右边的那个frame定义个<frame id="rightFrame" src="right.html">
      

  2.   

    <html>
    <head><title>实验</title></head>
    <body>
    <table width="716" border="1" bordercolor="#000000">
    <tr>
       <td width="104" height="135"><a href="http://www.sina.com" target="frame">新浪</a></td>
       <td width="596"><iframe name="frame" width="100%" height="100%"></iframe></td>
    </tr>
    </table>
    </body>
    <html>上面的代码能满足你的要求,我试过了.
      

  3.   

    是写html代码还是写java代码?我是在想用applet可不可以做到?!