摘要:
在jQuery对象后面添加瀑布流函数 (function($){ $.fn.waterFall = function(gap){ // 函数调用对象 jQuery对象 var $this = $(this), // 调用对象子元素集合 jQuery对象 $items = $this.children 阅读全文
摘要:
1、历史管理 history对象 // 后退 // 前进 // 前进/后退n步 // 历史条数 // 追加一条历史记录 // 当前进/后退时触发 调用者 window (浏览器上的按钮) example: var btn = document.getElementById('btn'); btn.o 阅读全文