main.php#主框架布局代码,用
<?php
header("Content-Type:text/html;charset=utf-8");
?>
<html>
<head>
<title>hello</title>
</head>
<frameset cols="25%,75%">
<frame src="page.html">
<frame src="" name="showframe">
</frameset>
<body>
</body>
</html>
page.html
<html>
<body>
<h1>This is Page</h1>
<br>
<a href="page1.html" target="showframe">page1</a>
<br>
<a href="page2.html" target="showframe">page2</a>
</body>
</html>
page1.html
<html>
<body>
<h1>This is Page1</h1>
</body>
</html>
page2.html
<html>
<body>
<h1>This is Page2</h1>
</body>
</html>