bootstrap插件学习-bootstrap.scrollspy.js
摘要:
先看bootstrap.dropdown.js的结构function ScrollSpy(){} //构造函数ScrollSpy.prototype = {} //构造器的原型$.fn.scrollspy = function ( option ){} //jQuery原型上的自定义方法$.fn.scrollspy.Constructor = ScrollSpy // jQuery原型上的自定义方法$.fn.scrollspy.defaults = {} //默认参数$(function(){}) //初始化执行HTML结构 项目名称 ... 阅读全文
posted @ 2013-08-21 09:11 无码帝 阅读(4230) 评论(1) 推荐(2) 编辑