码迷,mamicode.com
首页 >  
搜索关键字:extend    ( 4682个结果
jQuery实现分页
转载地址http://www.cnblogs.com/xiaoruoen/archive/2012/01/11/2318199.html;( function($){ $.extend({ "easypage":function(options){ ...
分类:Web程序   时间:2014-08-13 01:04:45    阅读次数:298
jquery写插件的几种写法总结(持续补充中)
1:jQuery.fn.extend(object); 给jQuery对象添加方法。js封装文件示例$.fn.extend({ alertWhileClick:function(){ $(this).click(function(){ alert($(this).val()); }); }...
分类:Web程序   时间:2014-08-12 13:20:24    阅读次数:261
python 导入库问题
最后的解决如下:不知道有没有多余的地方 from django.conf import settings from sys import path path.extend(['/home/zoueswebsite', '/home/zoueswebsite/blog', '/home/zoueswebsite/zoueswebsite']) import os os.environ['D...
分类:编程语言   时间:2014-08-12 00:42:43    阅读次数:240
jQuery.attributes源码分析(attr/prop/val/class)
回顾有了之前的几篇对于jQuery.attributes相关的研究,是时候分析jQuery.attr的源码了Javascript中的attribute和property分析attribute和property兼容性分析jQuery.access源码分析结构jQuery.fn.extend({ ...
分类:Web程序   时间:2014-08-11 20:44:22    阅读次数:620
定时器暂停以及完全删除
1 var SchedulerPauseResumeTest = cc.Layer.extend({ 2 ctor : function(){ 3 this._super(); 4 //添加监听 5 6 this.schedule(this.onT...
分类:其他好文   时间:2014-08-11 17:20:42    阅读次数:321
pthread_t结构的定义
linux下是这样定义的:在linux的实现中pthread_t被定义为 "unsigned long int",參考这里Windows下这样定义: /* * Generic handle type - intended to extend uniqueness beyond ...
分类:其他好文   时间:2014-08-10 10:16:50    阅读次数:448
easyui filter 过滤时间段
1$.extend($.fn.datagrid.defaults.filters,{2dateRange:{3init:function(container,options){4varc=$('').appendTo(container);5c.find('.d1,.d2').datebox();6...
分类:其他好文   时间:2014-08-08 23:51:37    阅读次数:680
easyui dialog 扩展load
1$.extend($.fn.panel.methods,{2showMask:function(jq,msg){3returnjq.each(function(){4varpal=$(this).panel('panel');5if(pal.css('position').toLowerCase(...
分类:其他好文   时间:2014-08-08 23:46:16    阅读次数:429
JQuery插件编写之封装对象
Jquery扩展插件有三大法宝,1、封装对象方法 (本文详细介绍):对通过选择器获取的jQuery对象进行操作。2、封装全局函数3、选择器插件jQuery插件的机制: jQuery插件的机制很简单,就是利用jQuery提供的jQuery.fn.extend()和jQuery.extend()方法,....
分类:Web程序   时间:2014-08-08 01:48:45    阅读次数:245
测试CPU支持指令集AVX,AVX2,SSE情况的代码【VS2010调试通过】
Intel® Advanced Vector Extensions (Intel® AVX) is a set of instructions for doing Single Instruction Multiple Data (SIMD) operations on Intel® architecture CPUs. These instructions extend previous SIM...
分类:其他好文   时间:2014-08-07 00:51:07    阅读次数:995
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!