<script language="javascript" type="text/javascript">
function myHref(url)
{
document.getElementById("myFrame").src=url;
}
</script>
<title>无标题文档</title>
</head>
<body>
<table width="100" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="100" align="center"><a href="#" οnclick="myHref('http://www.baidu.com')">百度</a></td>
</tr>
<tr>
<td align="center"><a href="#" οnclick="myHref('http://www.sohu.com.cn')">新浪</a></td>
</tr>
<tr>
<td align="center"><a href="#" οnclick="myHref('http://www.sohu.com')">搜狐</a></td>
</tr>
</table>
<iframe name="myFrame" id="myFrame" frameborder="1" width="500" height="500"></iframe>
</body>
</html>