breakpoints的下载地址:http://plugins.jquery.com/breakpoints-js/
breakpoints的目录结构如下:
1.breakpoints.js是什么?
breakpoints.js是一个jQuery插件。
breakpoints下载文件夹中readme.txt文件中有这么一句话:Define breakpoints for your responsive design, and Breakpoints.js will fire custom events when the browser enters and/or exits that breakpoint.(为响应式设计定义breakpoints,当浏览器的窗口大小进入或者退出哪些breakpoint时breakpoints.js触发(fire)自定义事件)。
说白了这个插件的作用就是当浏览器窗口宽度发生改变时,会触发一些事件。
2.breakpoints.js能实现什么?
在breakpoints的下载的目录下有一个example.html文件,使用浏览器打开,调整浏览器的宽度。
3.breakpoint.js怎么用?
example.html就是一个很好的模板。