在使用jsf框架时,肯定会用到faces-config.xml。 而其中就会出现很多的Navigation项。其实这些Navigation就是一些页面跳转的东西。以下内容来自http://blog.sina.com.cn/s/blog_600046120100to0e.html导航(Navigati...
分类:
Web程序 时间:
2015-10-23 22:59:05
阅读次数:
453
1.什么事JQ?一个优秀的js库,大型开发必备2.JQ的好处简化JS的复杂操作不再需要关系兼容性提供大量实用方法3.JQ的设计思想选择网页元素 -模拟css选择元素 选择元素: div $("#div").css('background','red');//根据ID选择元素 ...
分类:
Web程序 时间:
2015-10-23 22:55:15
阅读次数:
254
$()下的常用方法has()not()filter()next()prev()find()eq()index()attr()Filter:过滤not:filter的反义词$("div").filter(".box").css("background","red");$("div").not(".bo...
分类:
Web程序 时间:
2015-10-23 22:52:51
阅读次数:
302
/*清除浮动代码*/ .clearfloat:after{display:block;clear:both;content:"";visibility:hidden;height:0} .clearfloat{zoom:1} Left Right div...
分类:
Web程序 时间:
2015-10-23 22:51:48
阅读次数:
186
读写文件的步骤一般需要5步:创建文件流创建读写器执行读或写的操作关闭读写器关闭文件流需要引用:System.IO这个命名空间代码演示: 1 string path = @"F:\a.txt"; 2 string content = "内容"; 3 try 4 { 5 //创建文件流 6 ...
分类:
Web程序 时间:
2015-10-23 22:50:09
阅读次数:
298
function nextChildNode(node,clazz,tagName){ var count= node.childElementCount; for(var i=0;i<count;i++){ if(node...
分类:
Web程序 时间:
2015-10-23 22:47:32
阅读次数:
218
HTML 中onkeyup="stripscript(this)";function stripscript(obj) { var s = $(obj).val(); var pattern = new RegExp("[`~@#$^&|\\/~@#¥&]") var rs = ...
分类:
Web程序 时间:
2015-10-23 22:41:54
阅读次数:
178
class?test?
{
public?$a,$b;
public?function?__construct($a,$b)
{
$this->a=$a;
$this->b=$b;
}
public?function?set($var,?$val)
{
$this->$var?.=?$val;
return?$this;
}
public...
分类:
Web程序 时间:
2015-10-23 21:39:51
阅读次数:
174
Agri-NetTime Limit:1000MSMemory Limit:10000KTotal Submissions:46319Accepted:19052DescriptionFarmer John has been elected mayor of his town! One of his...
分类:
Web程序 时间:
2015-10-23 21:34:31
阅读次数:
260
html css*{ margin: 0; padding: 0;}.mod { position: absolute; left: 30%; top: 30%; width: 400px; height: 400px;...
分类:
Web程序 时间:
2015-10-23 21:35:01
阅读次数:
300
http://www.atool.org/httptest.php===========================iOS 渐渐消失的提示框怎么实现假设需要消失的提示框是view[UIView animateWithDuration:1.f animations:^{ view.a...
分类:
Web程序 时间:
2015-10-23 21:28:17
阅读次数:
1900
'router' =>array(),// 路由'controllers' =>array(),// 控制器'view_manager' =>array(),// 视图管理器'service_manager' =>array(),// 服务器管理器'tra...
分类:
Web程序 时间:
2015-10-23 21:25:48
阅读次数:
363
1.通过table的Id获取到每行(tr)的元素,$("#table_xuan tr") 如果过滤第一行和最后一行 $("#table_xuan tr:not(:first):not(:last)")2.通过 each()函数遍历 每一行$("#table_xuan tr").each...
分类:
Web程序 时间:
2015-10-23 21:25:51
阅读次数:
776
自己边读变加了一些注释,理解了一下seajs3.0.0工作的流程。正则没有一个个去理解,插件模块也没看, 以后有时间了可以补充完整~事件系统中事件队列的获取&定义方法var list = events[name] || (events[name] = [])以前自己写都是if(!events[nam...
分类:
Web程序 时间:
2015-10-23 21:20:48
阅读次数:
291
在伪静态中加入下列代码 RewriteEngine on RewriteCond %{SERVER_PORT} 80 RewriteRule ^.*$ https://loc-test.yaoyao.com/$1 [R=301,L]// 及所有的80都转到443端口 若有些不转的可在红色区域内排除比...
分类:
Web程序 时间:
2015-10-23 21:21:48
阅读次数:
125
Network of SchoolsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 13801Accepted: 5505DescriptionA number of schools are connected to a comput...
分类:
Web程序 时间:
2015-10-23 21:16:39
阅读次数:
288
---恢复内容开始---X-UA-Compatible是自从IE8新加的一个设置,对于IE8以下的浏览器是不识别的。通过在meta中设置X-UA-Compatible的值,可以指定网页的兼容性模式设置。在网页中指定的模式优先权高于服务器中(通过HTTP Header)所指定的模式。网页兼容性模式不仅...
分类:
Web程序 时间:
2015-10-23 21:16:29
阅读次数:
284