Get new jQuery plugins just once a week

×

Breakpoints-js

FavoriteLoadingAdd to favorites

August 9, 2012

Breakpoints-js | jQuery plugin to define breakpoints

Breakpoints-js lets you define breakpoints for your responsive design which will fire custom events when the browser enters and/or exits that break-points.You can set custom break-points and then fire it is reached accordingly simply.

Sample Code :

$(window).setBreakpoints({
// use only largest available vs use all available
distinct: true,
// array of widths in pixels where breakpoints
// should be triggered
breakpoints: [
320,
480,
768,
1024
]
});
$(window).bind('enterBreakpoint320',function() {
...
});

If you dont prefer using this there are other responsive plugins at jquer.in
Created by XOXCO.

Download
Home
Example

breakpoints-js

Custom breakpoints for your website

Breakpoints-js

Related posts:

Grid-A-Licious
jResize
data-img
breakpoints-js

http://jquer.in/wp-content/uploads/2012/08/breakpoints-js.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever