码迷,mamicode.com
首页 >  
搜索关键字:easing function    ( 54834个结果
玩转codecademy (二)
1 // create your Animal class here 2 function Animal(name,numLegs){ 3 this.name=name, 4 this.numLegs=numLegs 5 } 6 // create the sayName ...
分类:其他好文   时间:2014-05-18 19:45:23    阅读次数:246
boost::bind boost::function
#include #include #include #include #include using namespace boost; using namespace std; class point {public: point(int a=0,int b=0):x(a),y(b) {}...
分类:其他好文   时间:2014-05-18 19:42:18    阅读次数:290
此一生 一个纯js的ajax
/** * 得到ajax对象 */function getajaxHttp() { var xmlHttp; try { // Firefox, Opera 8.0+, Safari xmlHttp = new XMLHttpRequest(); ...
分类:Web程序   时间:2014-05-18 19:14:53    阅读次数:389
知识点 总结
1 user focus() 验证错误 光标弹回input标签。 面向对象2 function_construct ( ) 初始化函数3 private : 只能在类使用 。4 public $classname = " fg19" 公开的 变量5 public function ...
分类:其他好文   时间:2014-05-17 23:48:46    阅读次数:403
C++ Basis
1.pre-defined function void funciton2.using programmer-defined function a.declaration-- in main() or above main() in global space b.definition -- just...
分类:编程语言   时间:2014-05-17 22:17:28    阅读次数:268
JS Format函数
//扩展方法$.GM.Format = function (source, params) { if (arguments.length == 1) return function () { var args = $.makeArra...
分类:Web程序   时间:2014-05-17 21:49:16    阅读次数:333
JavaScript高级程序设计15.pdf
组合继承的问题是会调用2次超类型构造函数寄生组合式继承即通过借用构造函数来继承属性,通过原型链的形式来继承方法,思路:不必为了指定子类型的原型而调用超类型的原型,我们所需要的无非是超类型原型的一个副本而已function inheritPrototype(subType,superType){ v....
分类:编程语言   时间:2014-05-17 20:58:26    阅读次数:331
PHP (20140516)
用Ajax验证验证码: 1 var xmlHttp; 2 function getXmlHttp(){ 3 if(window.ActiveXObject){ 4 xmlHttp = new ActiveXObject("MICROSOFT.XMLHTTP"); 5 ...
分类:Web程序   时间:2014-05-17 19:26:39    阅读次数:316
转载4
超级简单又实用的jquery图片预览功能2012年10月14日 ? jQuery ? 评论数 2以下为javascript代码:this.imagePreview = function() { xOffset = 10; yOffset = 30; $("a.preview").hover( fu....
分类:其他好文   时间:2014-05-17 19:03:59    阅读次数:327
用js实现插入排序
话不多说,直接上代码html源码: 插入排序排序规则:输入框中输入以逗号隔开的的数字,排序结果按照从小到大升序排列结果显示区: js源代码// JavaScript Documentvar myarr=[];$(function(){ //单击排序按钮触发的事件...
分类:Web程序   时间:2014-05-17 18:57:22    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!