Breakpoints.js

Open Source
View Demo

Breakpoints.js

Define breakpoints for your responsive design, and Breakpoints.js will fire custom events when the browser enters and/or exits that breakpoint.

This is most useful for designs that require different event bindings at different screen sizes - for example a navigation system that behaves differently at different sizes.