码迷,mamicode.com
首页 >  
搜索关键字:easing function    ( 54834个结果
angularjs 实现排序功能
实现公式:{{orderBy_expression | orderBy:expression:reverse}}Examplevar app=angular.module("myApp",[]); app.controller("Ctrl",function($scope){ $scope.fri....
分类:Web程序   时间:2014-07-22 23:07:52    阅读次数:960
关于cocos2dx+lua使用cocosbuilder乱弹
cocos2d-x 3.0 + cocosbuilder 3.0使用中发现每个按钮回调都要写一行对应的回调如:1 local function onMenuItemAClicked()2 ...3 end4 5 TestMenusLayer["onMenuItemAClicked"] = o...
分类:其他好文   时间:2014-07-22 23:06:54    阅读次数:321
一个静态的HTML页面用jquery ajax登录到sharepoint页面
$.ajax({type:"get", url:"http://", data:"name="+userid+"&password="+password,async:true, error:function(request){alert("Connectionerror"); }, success:...
分类:Web程序   时间:2014-07-22 23:06:54    阅读次数:373
DOM setTimeout() 和setInterval()用法
1、setTimeout() setTimeout() 方法用于在指定的毫秒数后调用函数或计算表达式。具体的格式是这样的setTimeout(code,millisec) 其中code是要执行的代码或者function,而millisec是间隔的时间(毫秒数) function empt...
分类:其他好文   时间:2014-07-22 23:06:14    阅读次数:243
javascript 与 jquery 中的函数调用的区别
标签:例如注意, 此时button的点击事件不会调用jquery中的show(),如果没在js文件中直接书写function show(){}的话,会报错, 提示找不到show()但是在jquery中是可以调用jquery中的 function show() {}的,即可以调用上面的红色书写的sho...
分类:编程语言   时间:2014-05-01 16:13:24    阅读次数:347
Same Tree
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:其他好文   时间:2014-05-01 16:06:46    阅读次数:427
js实现trim() JS去掉首尾空格 JS去掉两头空格
function trimStr(str){ return str.replace(/(^\s*)|(\s*$)/g,"");}用的时候就是直接 var 变量=trimStr(需要去空格的字符串);
分类:Web程序   时间:2014-05-01 15:47:26    阅读次数:347
ExtJS4.2 Grid 分页栏 搜索
function SearchCondition(){ this.startTime = ""; this.endTime = ""; this.targetInfo = ""; this.logType = ""; this.m...
分类:Web程序   时间:2014-05-01 15:36:22    阅读次数:414
Delphi XE6 TStringHelper中的string类型转换
类型转换:function ToBoolean: Boolean;function ToInteger: Integer;function ToSingle: Single;function ToDouble: Double;function ToExtended: Extended;class f...
分类:其他好文   时间:2014-05-01 15:02:01    阅读次数:382
js实现hash
由于项目中用到了hash,自己实现了一个。Hash = function () { } Hash.prototype = { constructor: Hash, add: function (k, v) { if (!this.hasO...
分类:Web程序   时间:2014-05-01 13:44:25    阅读次数:444
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!