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
License
@author Mario Vidov
@url www.vidov.it
@twitter MarioVidov
MIT license