-webkit-animation:仍旧是一个复合属性,-webkit-animation: name duration timing-function delay iteration_count direction;包括以下几个属性(1) -webkit-animation-name 这个属性的使...
分类:
Web程序 时间:
2015-10-16 16:43:16
阅读次数:
124
function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.sub...
分类:
Web程序 时间:
2015-10-16 15:18:49
阅读次数:
138
用$.Callbacks实现观察者模式// 观察者模式var observer = { hash: {}, subscribe: function(id, callback) { if (typeof id !== 'string') { return...
分类:
Web程序 时间:
2015-10-16 14:51:54
阅读次数:
195
面向对象的JAVA 最开始当然是对象的定义了 收集了以下的五种写法//第1种写法 function Circle(r) { this.r = r; } Circle.PI = 3.14159; Circle.prototype.area = function() { re...
分类:
Web程序 时间:
2015-10-16 14:49:12
阅读次数:
216
于angular我们定义directive方法。查看return { restrict: 'AE', scope: {}, template: '', link: function() {}}除了代码中出现的属性,另一些其它的属性可供配置,这里不作详述。今天我们要说的重点是...
分类:
Web程序 时间:
2015-10-16 13:36:11
阅读次数:
778
public function phpexcel(){ //测试$this->display("User:xx");//跨模块分配页面User模块xx.html // xx\ThinkPHP/Extend/Vendor/Excel/PHPExcel.php...
分类:
Web程序 时间:
2015-10-16 13:25:05
阅读次数:
195
现在用的jQuery版本2.0.3; 不能用jquery的live方法的原因是:在jquery1.9版本之后彻底抛弃了此方法; //?jQuery?1.9版本之前
$(‘#list?li‘).live(‘click‘,?‘#list?li‘,?function()?{
????//function?...
分类:
Web程序 时间:
2015-10-16 12:01:32
阅读次数:
178
一直想用PHPEXCEL,这次这个项目遇到了。然而坑也出来了。phpexcel的Autoloader.php里面publicstaticfunctionRegister(){
/*if(function_exists(‘__autoload‘)){
//RegisteranyexistingautoloaderfunctionwithSPL,sowedon‘tgetanyclashes
spl_autoload_register(‘__autoload‘);
..
分类:
Web程序 时间:
2015-10-16 12:00:57
阅读次数:
160
在VS 2012 中编译 C 语言项目,如果使用了 scanf 函数,编译时便会提示如下错误:error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disab...
分类:
其他好文 时间:
2015-10-16 11:50:25
阅读次数:
212
function getOlnyNumChange(obj){ var num = obj.val(), nowCheck = obj.parents(".out_label").find("input[name='checkShop[]']:checked").val()+""; ...
分类:
编程语言 时间:
2015-10-16 11:44:34
阅读次数:
157