Skip to content

Instantly share code, notes, and snippets.

@aklump
Last active October 6, 2015 07:57
Show Gist options
  • Save aklump/2961396 to your computer and use it in GitHub Desktop.
Save aklump/2961396 to your computer and use it in GitHub Desktop.
jQuery plugin to apply current viewport to a DOM element and fire a callback function when viewport changes.
This gist has moved: http://www.intheloftstudios.com/packages/jquery/jquery.viewport_class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment