码迷,mamicode.com
首页 >  
搜索关键字:easing function    ( 54834个结果
jQuery操作select
无标题文档 $(function(){ //获取第一个option的值 var firstval=$('#selectID option:first').val(); alert(firstval); //获取最后一个option的值 var lastval =$('#selectID option:last').val(); alert(lastval);...
分类:Web程序   时间:2014-07-22 23:02:15    阅读次数:367
小前端大能耐——Canvas与Javascript配合实现几个功能
1.粒子化function Dot(X, Y, Z, R) { this.dx = X; this.dy = Y; this.dz = Z; this.tx = 0; ...
分类:编程语言   时间:2014-07-22 22:59:53    阅读次数:400
select改变执行操作
function changeBottomTimeScale(value) { gantt.setBottomTimeScale(value)}
分类:其他好文   时间:2014-05-01 21:04:50    阅读次数:349
indy openssl lazarus 编程linux下出现不能装载动态库的问题原因!
版本不对的原因。具体在10.5.9下修改此参数即可解决问题。LoadFunction() has an ACritical parameter. It is set to True by default, but can be set to False for individual function...
分类:系统相关   时间:2014-05-01 20:14:57    阅读次数:594
JS 字符unicode转换函数
/**js Unicode编码转换*/vardecToHex =function(str) {varres=[];for(vari=0;i < str.length;i++) res[i]=("00"+str.charCodeAt(i).toString(16)).slice(-4);return"...
分类:Web程序   时间:2014-05-01 19:36:51    阅读次数:427
Keyboard input
Keyboard inputPython provides a build-in function called raw_input (in version 2.x) that gets input from the keyboard. In Python 3.x we use input(). W...
分类:其他好文   时间:2014-05-01 19:23:26    阅读次数:392
Recursion
RecursionIt is legal for one function to call another; it is also legal for a function to call itself. It may not be obvious why what is a good thing,...
分类:其他好文   时间:2014-05-01 18:40:44    阅读次数:302
js:深入函数(函数是对象)
//由于函数是对象,所以可以直接把函数通过参数传递进来;也可以把函数作为返回值。 function calFun(fun,arg){   //第一个参数就是函数对象   return fun(arg); } function sum(num){   return num+100; } function say(str){   alert("hello "+str); } //...
分类:Web程序   时间:2014-04-30 22:41:38    阅读次数:324
c++ founction object
根据SGI官方文档,仿函数也叫函数对象(Function Object, or Functor),定义就是任何可以像函数一样被调用的对象。一个普通的函数是函数对象,一个函数指针当然也是,广义上说任何定义了operator()的类对象都可以看作是函数对象。 仿函数(Functor、Function Object) 传递给STL算法的函数型参数(functional arguement)不一定要是...
分类:编程语言   时间:2014-04-30 22:28:38    阅读次数:243
thinkphp的分页格式自定义
public function index(){         header('Content-Type:text/html;charset=utf-8 '); $M = M("Constant");           $count = $M->where($where)->count();           import("ORG.Util.Page"); // 导入分页类   ...
分类:Web程序   时间:2014-04-30 22:27:39    阅读次数:343
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!