随笔分类 - js
js,ajax
摘要:运行代码
阅读全文
摘要:附件下载.zip
阅读全文
摘要:This browser does not support HTML5 Canvas. One Two Three Four Five Six This browser does not support HTML5 Canvas. One Two Three Four Five Six 运行代码
阅读全文
摘要:运行代码
阅读全文
摘要:http://ued.taobao.com/blog/2012/06/debug-with-chrome-dev-tool/所有 js 文件中搜索&查找 js 函数定义在 chrome developer tool 打开的情况下, 按 ctrl + shift + F, 在通过 js 钩子查找代码位置时很有用, 查找支持正则表达式查找函数定义: ctrl + shift + 0 (在 Scripts panel 下)查找文件: ctrl + o (在 Scripts panel 下)9. 实时修改 js 代码生效页面外部 js 文件在 Scripts 面板中可以直接修改, 改完后按 c
阅读全文
摘要:介绍:https://github.com/RubyLouvre/JS.Class<!doctype html><html><head><meta charset="gb2312" /><title>测试</title><script>var JS = { VERSION: '2.2.1'};JS.Class = function(classDefinition) { //返回目标类的真正构造器 function getClassBase() { return functio
阅读全文
摘要:Modernizr.js,es5-shim.js,es5-safe.js
阅读全文
摘要:介绍:The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface地址:http://jonrohan.github.com/ZeroClipboard/#demo源码解析: 1 /*! 2 * zeroclipboard 3 * The Zero Clipboard library provides an easy way to copy text to the...
阅读全文
摘要:本地存储 subcookie 子cookie
阅读全文
摘要:function FX(){ this.init.apply(this, arguments); } FX.prototype.init = function(animationFunction, opts) { this._animationFunction = animationFunction; this._duration = opts && opts.duration || 250; this._interval = opts && opts.interval || 40; this._tween = opts && opts.twee
阅读全文
摘要:http://www.cnblogs.com/xesam/archive/2011/11/24/2262281.html 关于SETTIMEOUT,理解JAVASCRIPT定时机制http://www.cnblogs.com/xesam/archive/2011/11/24/2261102.html 关于SETTIMEOUT的第三个参数以及小应用http://www.cnblogs.com/snandy/archive/2011/05/18/2050315.html 仅IE不支持setTimeout/setInterval函数的第三个以上参数http://www.cnblogs.com/b..
阅读全文
摘要:microAjax.js是08年的一个tiny ajax lib,现在看起来极简陋了。function microAjax(url, callbackFunction){ this.bindFunction = function (caller, object) { return function() { return caller.apply(object, [object]); }; }; this.stateChange = function (object) { if (this.request.readyState==4) this.cal...
阅读全文