<frame option>
| option |
name="フレーム名" marginheight="数字" marginwidth="数字" scrolling="yes","no","auto" noresize |
個々のフレームに名前をつける フレーム内の縦マージン フレーム内の横マージン スクロールバーの表示設定 フレームのサイズを固定する |
個々のフレームに対して上の設定が可能です。
フレーム機能を十分に活用するためにはフレーム名は必須です
→ サンプル
<html>
<head>
<title>サンプル - フレーム -</title>
</head>
<frameset rows="40,*,50,">
<frame src="82-s.html">
<frame src="82-s2.html">
<frame src="82-s3.html">
</frameset>
</html>
<head>
<title>サンプル - フレーム -</title>
</head>
<frameset rows="40,*,50,">
<frame src="82-s.html">
<frame src="82-s2.html">
<frame src="82-s3.html">
</frameset>
</html>
フレーム名を指定しないと
別のフレームで開くことはできません
そういうわけで名前を設定します。
→ サンプル
<html>
<head>
<title>サンプル - フレーム -</title>
</head>
<frameset rows="40,*,50,">
<frame src="82-s8.html" name="ue">
<frame src="82-s2.html" name="middle">
<frame src="82-s3.html" name="sita">
</frameset>
</html>
<head>
<title>サンプル - フレーム -</title>
</head>
<frameset rows="40,*,50,">
<frame src="82-s8.html" name="ue">
<frame src="82-s2.html" name="middle">
<frame src="82-s3.html" name="sita">
</frameset>
</html>
上フレーム
<html>
<head>
<title>サンプル - フレーム -</title>
</head>
<body bgcolor="#e7e7e7">
<a href="82-s9.html" target="middle">アクセス</a>
<a href="82-s10.html" target="sita">アクセス</a>
</body>
</html>
<html>
<head>
<title>サンプル - フレーム -</title>
</head>
<body bgcolor="#e7e7e7">
<a href="82-s9.html" target="middle">アクセス</a>
<a href="82-s10.html" target="sita">アクセス</a>
</body>
</html>