this has nothing to do with C#, but try something like
<base target="fr">
<table id="mytable" border=1>
<tr>
<td width=120>
<input type="button" value="hide" onclick="show(false)"><br>
<a href="http://www.cnn.com">CNN</a><br>
<a href="http://www.sina.com">SINA</a><br>
<a href="http://weiqi.cn.tom.com">QiSheng</a><br>
</td>
<td width=20 style="display:none">
<input type="button" value="show" onclick="show(true)"><br>
</td>
<td width=300><iframe src="about:blank" name="fr" width="100%"></iframe></td>
</tr>
</table>
<script language="javascript">
function show(bShow)
{
mytable.rows[0].cells[0].style.display = bShow? "":"none";
mytable.rows[0].cells[1].style.display = bShow? "none":"";
mytable.rows[0].cells[2].width = bShow? 300:400;
}
</script>
<base target="fr">
<table id="mytable" border=1>
<tr>
<td width=120>
<input type="button" value="hide" onclick="show(false)"><br>
<a href="http://www.cnn.com">CNN</a><br>
<a href="http://www.sina.com">SINA</a><br>
<a href="http://weiqi.cn.tom.com">QiSheng</a><br>
</td>
<td width=20 style="display:none">
<input type="button" value="show" onclick="show(true)"><br>
</td>
<td width=300><iframe src="about:blank" name="fr" width="100%"></iframe></td>
</tr>
</table>
<script language="javascript">
function show(bShow)
{
mytable.rows[0].cells[0].style.display = bShow? "":"none";
mytable.rows[0].cells[1].style.display = bShow? "none":"";
mytable.rows[0].cells[2].width = bShow? 300:400;
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货