页面展示
首页:
<html> <frameset cols="200,*"> <frame src="frame.php"> <frame src="inner.php" name="view_frame"> </frameset> </html>
左侧页面
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <h3>数据库</h3> <ul> <li><a href="./online.php" target="view_frame">线网数据库</a></li> <li><a href="./test.php" target="view_frame">测试数据库</a></li> </ul> </body> </html>
右侧页面
<html> <body> <meta http-equiv="Content-Type" content="text/plain; charset=utf-8"> <div align="center" valign="center"> <table align="center"> <h1>欢迎使用<h1> </table> </div> </body> </html>
转载于:https://blog.51cto.com/qiufengsong/1388581