EnquireJS

11/2/2014

Soon or later, if we have to show/hide content via javascript for responsive layout, looks like this enquire.js looks cool.

 

http://wicky.nillia.ms/enquire.js/#quick-start 

 

 

In responsive design, CSS media queries can only take you so far. enquire.js allows you to harness media queries in JavaScript, giving you the tools to create advanced responsive sites.