js隐藏控件
<!DOCTYPE html PUBLIC "-//W3C//DTDXHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<metahttp-equiv="Content-Type" content="text/html;charset=utf-8" />
<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"><ahref="#" onclick="myHref('http://www.baidu.com')">百度</a></td>
</tr>
<tr>
<td align="center"><a href="#"onclick="myHref('http://www.sohu.com.cn')">新浪</a></td>
</tr>
<tr>
<td align="center"><a href="#"onclick="myHref('http://www.sohu.com')">搜狐</a></td>
</tr>
</table>
<iframe name="myFrame"id="myFrame" frameborder="1" width="500"height="500"></iframe>
</body>
</html>