Skip to content

Waypoints is a small jQuery plugin that makes it easy to execute a function whenever you scroll to an element.

Notifications You must be signed in to change notification settings

hochitom/jquery-waypoints

This branch is 153 commits behind imakewebthings/waypoints:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

25ab67f · Feb 3, 2013
Jan 3, 2013
Feb 3, 2013
Feb 3, 2013
Aug 19, 2012
Feb 3, 2013
Dec 24, 2012
Feb 3, 2013
Jan 2, 2013
Feb 3, 2013
Feb 3, 2013
Feb 3, 2013

Repository files navigation

jQuery Waypoints

Waypoints is a jQuery plugin that makes it easy to execute a function whenever you scroll to an element.

$('.thing').waypoint(function() {
  alert('You have scrolled to a thing.');
});

If you're new to Waypoints, check out the Get Started section.

Read the full documentation for more details on usage and customization.

Shortcuts

In addition to the normal Waypoints script, extensions exist to make common UI patterns just a little easier to implement:

Examples

Waypoints can also be used as a base for your own custom UI patterns. Here are a few examples:

AMD Module Loader Support

If you're using an AMD loader like RequireJS, Waypoints registers itself as a named module, 'waypoints'. Shortcut scripts are anonymous modules.

License

Copyright (c) 2011-2012 Caleb Troughton Licensed under the MIT license.

Support

Unit tests for Waypoints are written with Jasmine and jasmine-jquery. You can run them here. If any of the tests fail, please open an issue and include the browser used, operating system, and description of the failed test.

About

Waypoints is a small jQuery plugin that makes it easy to execute a function whenever you scroll to an element.

Resources

Stars

Watchers

Forks

Packages

No packages published