dreamweaver中框架链接的问题

来源:百度知道 编辑:UC知道 时间:2024/06/23 20:23:56
网页总共有三个,一个浏览网页,上面有两个框架,id分别是topframe,bottomframe,topframe链接1.html(详细内容)等,bottomframe链接allpic.html(所有图片),我想实现点击bottomframe的图片,就在topframe显示详细内容,请高手告诉我该怎么办,如果能成功解决问题,分数再加一倍以表感谢,呵呵

用框架,可以实现的

给框架的名称设个name=mian
tager=mian
这样就可以的
表标在这个框 架中显示主体内容
本想给你写好个代码,可太麻烦 就手写了个代码,参考用

下面有一个实例

<div>
<div id=baidu name="mian" height="500" width="200">
<ul><li><a href="http://zhidao.baidu.com"></a></li>

<li><a href="http://mp3.baidu.com" target="mian">mp3</a></li>
<li><a href="http://zhidao.baidu.com" target="mian">知道 </a></li>
<li><a href="http://baike.baidu.com" target="mian">百科</a></