首页 > 其他 > 详细

利用框架(frame),让不同的文件显示在同一个页面上

时间:2014-04-02 01:06:45      阅读:650      评论:0      收藏:0      [点我收藏+]

页面展示

bubuko.com,布布扣


首页:

<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>


本文出自 “秋风颂” 博客,请务必保留此出处http://qiufengsong.blog.51cto.com/7520243/1388581

利用框架(frame),让不同的文件显示在同一个页面上,布布扣,bubuko.com

利用框架(frame),让不同的文件显示在同一个页面上

原文:http://qiufengsong.blog.51cto.com/7520243/1388581

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!