IT民工窝棚qbq.blog.chinaunix.net
qbq
全部博文(708)
国产(1)
欧美(1)
SEO(1)
CSS3(5)
TestNG(4)
HTML5(2)
iBatis(3)
URLRewrite(1)
WebService(1)
WebServer(12)
PHP(8)
OGNL(1)
AS2(2)
Multimedia(0)
Flex AS3(29)
面试(9)
Commet(1)
Ivy(2)
Bat(8)
Maven(18)
CSS(7)
Ext(9)
Spring问题集(4)
Word(1)
JFreeChart(2)
Groovy on Grails(14)
Python(1)
Portlet(3)
amCharts(4)
CSharp.NET(3)
Tools(1)
S2Dao(8)
HSQL(9)
taglib(28)
Source Safe(3)
JSTL(6)
EL(2)
Seasar-SAStruts(3)
Prototype(0)
JQuery(3)
DWR(7)
AJAX(14)
Guice(13)
Digit(2)
Notebook(4)
Log4J(8)
Servlet(2)
JSP(4)
Eclipse(12)
VB.NET(3)
DotNet(3)
JavaScript(63)
Thinking In Soft(10)
Framework(11)
English(0)
Struts2(14)
Struts(38)
Hibernate(10)
Spring(30)
HTML(14)
Web(5)
MYSQL(9)
SQLSERVER(1)
ORACLE(2)
SQL(3)
数据库(0)
DATABASE(0)
Windows(8)
JAVA(67)
Software(1)
Hardware(3)
OpenSource(2)
Microsoft(0)
Excel(4)
DIY(5)
Linux(4)
分类: 系统运维
2009-08-06 10:01:05
主框架(main.html)左右两框左边功能菜单(left.html)右边内容(content*.html) main.html<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" ""><html><head><title>主页面</title><meta http-equiv="Content-Type" content="text/html; charset=GBK"></head> <frameset id="frame1" rows="*" cols="265,*" framespacing="0" frameborder="yes" border="0"> <frame src="left.html" name="leftFrame" scrolling="auto" noresize> <frame src="content1.html" name="mainFrame" scrolling="NO" noresize> </frameset><noframes><body></body></noframes></html>left.html<html> <head> <title>左边操作菜单</title> <script type="text/javascript">... function show()...{ var id = document.getElementById("info"); var sub = document.getElementById("subInfo"); if(sub.style.display == "none") ...{ sub.style.display="inline"; } else ...{ sub.style.display="none"; } } </script> </head> <body> <table border="0"> <tr> <td> <table border="0"> <tr><td id="info" style="cursor: hand" onClick="show()">信息维护</td></tr> </table> <div id="subInfo" style="display: none"> <table border="0"> <tr> <td><a href="content1.html" target="mainFrame"> 修改资料</a></td> </tr> <tr> <td><a href="content2.html" target="mainFrame"> 修改密码</a></td> </tr> <tr> <td><a href="content3.html" target="mainFrame"> 添加子栏目</a></td> </tr> </table> </div> </td> </tr> <tr> <td>信息维护2</td> </tr> <tr> <td><a href="content2.html" target="mainFrame">功能菜单</a></td> </tr> <tr> <td><a href="content2.html" target="mainFrame">退出</a></td> </tr> </table> </body></html>content*.html<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" ""><html><head><title>内容</title><meta http-equiv="Content-Type" content="text/html; charset=GBK"></head> <body><font size="12">内容1</font></body></html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" ""><html><head><title>内容</title><meta http-equiv="Content-Type" content="text/html; charset=GBK"></head> <body><font size="12">内容2</font></body></html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" ""><html><head><title>内容</title><meta http-equiv="Content-Type" content="text/html; charset=GBK"></head> <body><font size="12">内容3</font></body></html>
上一篇:Spring2.5中基于注释的IoC
下一篇:Word里面如何调整文字行高
登录 注册