码迷,mamicode.com
首页 >  
搜索关键字:easing function    ( 54834个结果
requirejs、backbone.js配置
requirejs初探参考资料官网:http://requirejs.org中文译文:http://makingmobile.org/docs/tools/requirejs-api-zhreuqirejs、backbone的配置例子(function(){ require.config({ ...
分类:Web程序   时间:2014-05-14 03:34:11    阅读次数:350
《深度探索c++对象模型》chapter1关于对象对象模型
在c++中,有2种class data member:static和nostatic,以及3钟class member function:static,nostatic和virtual。已知下面这个class Point声明:class Point{public: Point(float xv...
分类:编程语言   时间:2014-05-12 21:43:54    阅读次数:370
闭包
什么闭包?函数嵌套函数,函数嵌套函数,内部函数可以使用外部函数的参数和变量,参数和变量不会被垃圾回收机制回收//当调用完aaa()函数,变量a被垃圾回收机制回收了function aaa() { var a = 1;}aaa();//闭包的形式:function aaa() { var a...
分类:其他好文   时间:2014-05-12 20:34:19    阅读次数:311
JQuery日记 5.11 Sizzle选择器(五)
setDocument = Sizzle.setDocument = function( node ) { var hasCompare, //node为Element时返回node所属document //node为Document时返回node //node为空时返回window.document doc = node ? node.ownerDocument || node...
分类:Web程序   时间:2014-05-11 22:41:15    阅读次数:459
jquery ajax 在submit按钮的click处理中应注意的地方
html文件: ................ js文件: $(document).ready(function() {     $("#personsub").live('click',function()     {         if($("#oldpassword").val()=="")         {             a...
分类:Web程序   时间:2014-05-11 22:12:29    阅读次数:347
一个功能更强大的函数,也是用正则表达式写的
Option Explicit Function stripHTML(strtext)  dim arysplit,i,j, strOutput  arysplit=split(strtext," if len(arysplit(0))>0 then j=1 else j=0 for i=j to ubound(arysplit)  if instr(arysplit(i),">") ...
分类:其他好文   时间:2014-05-11 21:56:06    阅读次数:355
右键弹出自定义菜单,很有意思呀!
右键弹出自定义菜单,很有意思呀! 右键菜单 function showmenuie5(){ var rightedge=document.body.clientWidth-event.clientX var bottomedge=document.body.clientHeight-event.clientY if (rightedge ie5menu.style.left=d...
分类:其他好文   时间:2014-05-11 20:20:35    阅读次数:240
jquery tag页签切换
$(document).ready(function () { var tag=$(".tags"); tag.mouseover(function(){ $(this).addClass("tagOn").siblings().removeClass("tagOn"); var index ...
分类:Web程序   时间:2014-05-11 18:22:45    阅读次数:415
纯js懒加载,java后台举例
function getElementsByClassName(str,root,tag){ if(root){ root = typeof root == "string" ? document.getElementById(root) : root; } els...
分类:编程语言   时间:2014-05-11 18:20:00    阅读次数:316
C语言实现C++的继承和多态
C++语言的对象化模型.封装,隐藏内部实现.继承,复用现有代码.多态,改写对象行为本文描述了一个C++实现的继承和多态的场景,然后用C语言编写了一种对等的实现。// A typical example of inheritance and virtual function use.// We wou...
分类:编程语言   时间:2014-05-11 18:03:47    阅读次数:412
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!