🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

scrollDetection is a jQuery plugin to detects your scroll position up or down.

Events Plugins

Documentation

jquery.scrollDetection

jquery.scrollDetection detects your scroll position /up or down/

Install

<script src="jquery.min.js"></script> <script src="../jquery.scrollDetection.min.js"></script>

or

bower install scrolldetection

Usage

$.scrollDetection();

Configuration

scrollDown

will be executed when you scroll down

default: {} options: function

scrollUp

will be executed when you scroll up

default: {} options: function

Demo

codepen.io/mel/full/Wvxerw

License

@author Mario Vidov
@url www.vidov.it
@twitter MarioVidov
MIT license


You May Also Like