Skip to content

Instantly share code, notes, and snippets.

@pedronauck
Created May 16, 2013 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedronauck/5594090 to your computer and use it in GitHub Desktop.
Save pedronauck/5594090 to your computer and use it in GitHub Desktop.
EnquireJS base script
var query_960 = 'screen and (min-width: 45em)';
enquire.register($query_960, {
deferSetup : true,
setup : function() {
// load content via AJAX
},
match : function() {
// show sidebar
},
unmatch : function() {
// hide sidebar
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment