Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Failed to load latest commit information.
LICENSE return if object no longer exists in the DOM

jQuery Sap

Sap is a jQuery plugin that makes the elements of your choosing sticky (see what we did there?) when scrolling. By default, your elements will stick to the top of the viewport, but this behavior may be changed by setting the distanceFromTheTop option.


  1. jQuery


You can apply Sap to any element in the DOM by simply calling $(selector).sap()


You can also specify the distance from the top of the viewport that you want Sap to activate

    distanceFromTheTop: 0


View Demo Here View Other Demo

Known Issues

  • Sap does not work on iOS.
  • Sap does not always reset default CSS properly.


Licensed under the MIT License.

Something went wrong with that request. Please try again.