随笔分类 - jquery插件开发篇
摘要:/*对象*/ function JsonSort(obj, field, sortby) { this.obj = obj; this.field = field; this.sortby = sortby; } JsonSort.prototype.sort= function() { var $this...
阅读全文
摘要:http://www.cnblogs.com/miid/p/4367914.html
阅读全文
摘要:http://www.geetest.com/install/sections/idx-client-sdk.html
阅读全文
摘要:// 创建一个新的 input var i = document.createElement("input"); // 如果创建的 input 不支持 placeholder 属性,执行以下代码 if (!("placeholder" in i)) { // 遍历所有带有 placeholder 属性的 input $("inpu...
阅读全文
摘要:; (function ($, window, document, undefined) { function scroll() { this.num = 0; this.obj = this; this.dome = null; this.dome_ul = ...
阅读全文
摘要:;(function($, window, document,undefined) { function Dialog(){ this.oLogin = null; this.settings = { //默认参数 w : 300, ...
阅读全文
摘要:选项卡 111111 222222 333333 111111 222222 333333 ;(function ($, window, document, undefined) { function Tab() ...
阅读全文
摘要:/*跟随滚动条滚动*/ var menuYloc = $(".rigfie").offset().top; $(window).scroll(function (){ var offsetTop = menuYloc + $(window).scrollTop() +"px"; $(".rigfie")...
阅读全文
摘要:一、Lazy Load 依赖于 jQuery. 请将下列代码加入页面 head 区域:二、三、$("img.lazy").lazyload();
阅读全文
摘要:;(function($, window, document,undefined) { var Beautifier = function(ele, opt) { //创建对象 this.$element = ele, ...
阅读全文

浙公网安备 33010602011771号