<table width="600" height="268" border="0" align="center">
<tr>
<td height="53" valign="top"> <div align="center">
<a href="#" onclick="document.getElementById('test').src='http://www.google.com'"> ... </div></td>
<td valign="top"><div align="center">
<a href="#" onclick="document.getElementById('test').src='http://www.baidu.com'"> ... </div></td>
<td valign="top"><div align="center">
<a href="#" onclick="document.getElementById('test').src='http://www.yahoo.com'"> ... </div></td>
</tr>
<tr>
<td height="209" colspan="3" valign="top"><iframe id="test" height="350" width="600" scrolling="no" align="center" border="0" frameborder="0" name="test" src="http://www.x-bai.com"></iframe></td>
</tr>
</table>
<tr>
<td height="53" valign="top"> <div align="center">
<a href="#" onclick="document.getElementById('test').src='http://www.google.com'"> ... </div></td>
<td valign="top"><div align="center">
<a href="#" onclick="document.getElementById('test').src='http://www.baidu.com'"> ... </div></td>
<td valign="top"><div align="center">
<a href="#" onclick="document.getElementById('test').src='http://www.yahoo.com'"> ... </div></td>
</tr>
<tr>
<td height="209" colspan="3" valign="top"><iframe id="test" height="350" width="600" scrolling="no" align="center" border="0" frameborder="0" name="test" src="http://www.x-bai.com"></iframe></td>
</tr>
</table>
本文展示了一个包含交互式链接的表格,通过点击不同的链接可以切换显示不同的网页源。使用了基本的HTML和JavaScript来实现这一功能。
176

被折叠的 条评论
为什么被折叠?



