怎么实现在点击某个连接后,改变下面的内容?

来源:百度知道 编辑:UC知道 时间:2024/05/14 20:43:46
当点击某个连接后,只改变某个部分的内容,就象www.qq.com里面的搜索栏目内一样,点击后改变下面的内容,
需详细代码及说明,谢谢

最简单的方法iframe嵌套

你说的效果跟选项卡差不多吧

<style type="text/css">
<!--
td, div, input, textarea{font-family: 'MS Shell Dlg', 宋体, Tahoma;font-size: 12px;cursor: default;}
.title{background-color: #000080;color:#fdf7d3;padding: 1;font-family:宋体;font-size:12px;}
.up{background-color: #cccccc;color:#000000;border: 2px outset #ffffff}
.down{background-color: #cccccc;border:2px inset #ffffff}
.up1{background-color: #cccccc;color: #000000;border: 1px outset #ffffff}
.down1{background-color:#cccccc;border:1px inset #ffffff}
.l { background-color: #cccccc; height: 18px; border-left: 2px outset #ffffff;
border-right: 2px outset #ffffff; color:#000000;
border-top: 2px outset #ffffff; padding-top: 2;height:18}
.lc { background-color: #cccccc; height: 18px; border-left: 2px outset #ffffff;
border-right: 2px outset #ffffff; color:#000000;
border-top: 2px outset #ffffff; padding-top: 2;hei