文章分类 -  web

摘要:1、frame不能脱离frameSet单独使用,iframe可以; 2、frame不能放在body中;如下可以正常显示: <!--<body>--> <frameset rows="50%,*"> <frame name="frame1" src="test1.htm"/> <frame name= 阅读全文
posted @ 2016-09-04 10:35 乱世_独自美 阅读(123) 评论(0) 推荐(0)
摘要:通过一个demo测试这三个属性的差别。 说明: scrollWidth:对象的实际内容的宽度,不包边线宽度,会随对象中内容超过可视区后而变大。 clientWidth:对象内容的可视区的宽度,不包滚动条等边线,会随对象显示大小的变化而改变。 offsetWidth:对象整体的实际宽度,包滚动条等边线 阅读全文
posted @ 2016-09-01 17:50 乱世_独自美 阅读(91) 评论(0) 推荐(0)
摘要:背景音乐 原文链接: http://www.cnblogs.com/jiangchongwei/archive/2010/08/16/1800436.html 注:一般放在body标签中 视频窗口 阅读全文
posted @ 2016-08-30 16:32 乱世_独自美 阅读(128) 评论(0) 推荐(0)
摘要:现象为如下的web.xml在Eclipse Helios中出现警告信息 错误信息: Description Resource Path Location Type cvc-complex-type.2.4.a: Invalid content was found starting with elem 阅读全文
posted @ 2016-08-30 09:52 乱世_独自美 阅读(1265) 评论(0) 推荐(0)
摘要:原文链接: http://www.360doc.com/content/13/1224/16/13700120_339787232.shtml sitemash下载地址: https://java.net/downloads/sitemesh/ 阅读全文
posted @ 2016-08-30 01:17 乱世_独自美 阅读(80) 评论(0) 推荐(0)
摘要:原文链接: http://jingyan.baidu.com/article/5d368d1efbeed63f60c057c7.html 阅读全文
posted @ 2016-08-29 23:39 乱世_独自美 阅读(96) 评论(0) 推荐(0)
摘要:http://sentsin.com/web/939.html 阅读全文
posted @ 2016-08-23 17:04 乱世_独自美 阅读(71) 评论(0) 推荐(0)
摘要:c:if c:set || c:out 上面代码等价于下面代码 <meta> 阅读全文
posted @ 2016-08-15 15:22 乱世_独自美 阅读(106) 评论(0) 推荐(0)
摘要:jquery方式: 效果: 阅读全文
posted @ 2016-07-17 14:39 乱世_独自美 阅读(103) 评论(0) 推荐(0)
摘要:导入格式化标签: 格式化时间: >将java.util.Date格式化为java.sql.Date 阅读全文
posted @ 2016-07-17 11:40 乱世_独自美 阅读(69) 评论(0) 推荐(0)
摘要:下拉菜单 阅读全文
posted @ 2016-07-15 13:41 乱世_独自美 阅读(93) 评论(0) 推荐(0)
摘要:两个背景图片, 混合不透明度: opacity:0~1 阅读全文
posted @ 2016-07-13 00:21 乱世_独自美 阅读(88) 评论(0) 推荐(0)
摘要:<style> content </style> 只将content(不包括style头尾) 复制到xxx.css中即可 在web页面通过以下语句调用: <link rel="stylesheet" type="text/css" href="css/main.css"> 路径: 如果web路径和c 阅读全文
posted @ 2016-07-12 18:20 乱世_独自美 阅读(263) 评论(0) 推荐(0)
摘要:target的值就是ifame的name值 这样就实现表单的提交,将页面转到页中页 阅读全文
posted @ 2016-07-12 18:06 乱世_独自美 阅读(116) 评论(0) 推荐(0)
摘要:参考地址: http://www.jb51.net/web/58424.html 阅读全文
posted @ 2016-07-12 15:59 乱世_独自美 阅读(76) 评论(0) 推荐(0)
摘要:html页面添加: 阅读全文
posted @ 2016-07-10 12:52 乱世_独自美 阅读(87) 评论(0) 推荐(0)
摘要:导入jquery的js包 阅读全文
posted @ 2016-07-09 17:00 乱世_独自美 阅读(92) 评论(0) 推荐(0)
摘要:1) 2) 3) 所谓不去污染全局命名空间,是因为 IIFE 创建了一个新的函数作用域,你真正的业务代码被封装在其中,自然就不会触碰到全局对象了。如果你需要全局对象,那就 pass 给 IIFE: 阅读全文
posted @ 2016-07-09 16:23 乱世_独自美 阅读(143) 评论(0) 推荐(0)
摘要:sendRedirect只能重定向到WEB-ROOT下的页面,不能到WEB-INF下,且只能是页面: error值在jsp页面获取方式: 页面不需要调用方法自动调用该方法: span的内容通过$("")获取 span的内容赋值通过.html(value) 男女用Integer 1和2表示,页面中显示 阅读全文
posted @ 2016-07-08 22:30 乱世_独自美 阅读(202) 评论(0) 推荐(0)
摘要:background-image: url("img/title_ico.jpg"); //背景图片 添加logo background-size: 180px 180px; //背景图片的缩放 background-position: 0px 0px; //背景图片缩放后的位置 backgroun 阅读全文
posted @ 2016-06-29 20:57 乱世_独自美 阅读(181) 评论(0) 推荐(0)