框架frameset小结

name="showframe"
=======================

<html>
<head></head>
<frameset cols="120,*">
<frame src="/example/html/html_contents.html"></frame>
<frame name="showframe" src="/example/html/frame_a.html"></frame>
</frameset>
</html>

导航列表
=======================

<html>
<head></head>
<body>
<a target="showframe" href="/example/html/frame_a.html">Frame a</a><br>
<a target="showframe" href="/example/html/frame_b.html">Frame b</a><br>
<a target="showframe" href="/example/html/frame_c.html">Frame c</a>
</body>
</html>

noresize="noresize
=======================

<html>
<frameset cols="50%,*,25%">
<frame src="/example/html/frame_a.html" noresize="noresize" />
<frame src="/example/html/frame_b.html" />
<frame src="/example/html/frame_c.html" />
</frameset>
</html>

noframes
=======================

<html>
<frameset cols="25%,50%,25%">
<frame src="/example/html/frame_a.html">
<frame src="/example/html/frame_b.html">
<frame src="/example/html/frame_c.html">
<noframes>
<body>您的浏览器无法处理框架!</body>
</noframes>
</frameset>
</html>

=======================

posted @ 2012-01-30 20:54  JesseLZJ  阅读(587)  评论(0编辑  收藏  举报