框架网页的问题 急呀 高手来看看!

来源:百度知道 编辑:UC知道 时间:2024/05/22 02:55:52
<iframe name="b" src="dd_cx.asp" width="820" height="495" target="new2" >
</iframe></div>
<iframe name="a" src="left.asp" width="161" height="495" target="new" >
</iframe></div>
我在index.asp中插入了两个框架,如上。
name=“a”的框架中打开的网页是left.asp 在left.asp中有一个超链接:查询:
我想点击:查询:是在name=“b”的框架中打开cx.asp 就是用cx.asp代替dd_cx.asp
怎么做啊
我忙了一天了; 唉……
第一次在baidu发帖请高手解答,急呀!
谢谢!

<div>
<iframe name="b" src="dd_cx.asp" width="820" height="495" >
</iframe>
</div>
<div>
<iframe name="a" src="left.asp" width="161" height="495" >
</iframe>
</div>

left.asp中
<a href="cx.asp" target="b">查询</a>

在连接代码中添加 target=b