asp框架集

来源:百度知道 编辑:UC知道 时间:2024/04/28 08:31:36
我用框架做网页,分别是topframe,leftframe,mainframe
想实现在topframe里点连接,到leftframe里,再在了leftframe里点连接,到mainframe里,但是topframe到leftframe可以,再执行leftframe到mainframe就不可以了,它自己新打开一个网页显示了
我要实现的目的是topframe里显示总项,leftframe里分项,mainframe里,分项的详细情况,请问怎么办啊?谢谢
topframe里点连接是打开一个外部网页到leftframe,然后在从这个网页中连接另 一个网页到mainframe
我指了,target="mainframe"但是不行,但是target="lefrframe"是可以的

^_^

指明了目标框架还是不行? 不可能!也许楼主指错了,请仔细检查。

给出一个示例。

请阅读并调试下列文件:
(共9个文件)

1.index.htm

<html>
<head><title>框架示例</title></head>
<frameset rows="64,*">
<frame name="TopFrame" scrolling="no" target="LeftFrame" src="top.htm">
<frameset cols="160,*">
<frame name="LeftFrame" target="MainFrame" src="left1.htm">
<frame name="MainFrame" src="news.htm">
</frameset>
<noframes>
<body><p>浏览器不支持框架。</p></body>
</noframes>
</frameset>
</html>

2.top.htm

<html>
<head><title>top</title></head><body>
<table border="0" width="300">
<tr>
<td><a