|
|
属性 (W3C) |
<frameset | H4-x1 ie3- N2- |
|
>((frameset|frame)+ & noframes?)</frameset> |
ブラウザ独自の属性 (ie N) |
|
<html>
<head>
<title>タイトル</title>
</head>
<frameset cols="150,*">
<frame src="source1.htm" name="menu">
<frame src="source2.htm" name="content">
</frameset>
</html>
<frameset cols="150,*">
<frame src="menu.htm" name="menu">
<frame src="cont.htm" name="content">
</frameset>
<a href="リンク先文書URI" target="content">コンテンツ</a>
<a href="リンク先文書" target="_top">
<frameset ... frameborder="0" framespacing="0" border="0">
<script language="javascript" type="text/javascript"><!--
function turn1(){
top.cont1.location.href="page1.htm";
top.cont2.location.href="page2.htm";
}
function turn2(){
parent.cont1.location.href="cont1.htm";
parent.cont2.location.href="cont2.htm";
}
//--></script>
...
<a href="javascript:turn1();">turn1</a><br>
<a href="javascript:turn2();">turn2</a>
...