HTML 导航框架
2018-06-24 00:41:12来源:未知 阅读 ()
首页效果图
点击链接一效果图
代码结构
index.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>frameset</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <frameset rows="25%,50%,25%" cols="*"> <frame src="top.jsp"/> <frameset rows="*" cols="25%,75%"> <frame src="left.jsp"/> <frame src="right.jsp" name="showframe"/> </frameset> <frame src="bottom.jsp"/> </frameset> </html>
top.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>top</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> top... </body> </html>
left.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>left</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> <a href="link1.jsp" target="showframe">链接一</a><br/> <a href="link2.jsp" target="showframe">链接一</a><br/> <a href="link3.jsp" target="showframe">链接一</a> </body> </html>
right.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>right</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> welcome... </body> </html>
bottom.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>bottom</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> bottom... </body> </html>
link1.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>link1</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> link1... </body> </html>
link2.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>link2</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> link2... </body> </html>
link3.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>link3</title> <link href="logo.ico" rel="shortcut icon" type="image/x-icon" /> </head> <body> link3... </body> </html>
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- DIV居中的经典方法 2020-06-13
- Html/css 列表项 区分列表首尾 2020-06-11
- CSS导航栏下划线跟随效果 2020-06-11
- HTML骨架 2020-06-10
- HTML基础教程_1 2020-06-09
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash