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

lockscroll is an extremely light jQuery plugin that allows to lock or unlock mouse wheel scroll inside a specific scrollable container or the whole webpage.

scrolling

Documentation

jQuery LockScroll

A scroll lock plugin

This plugin lock and unlock the scroll of a specific element.

Usage

Lock

$("#element").lockScroll(true); 

Unlock

$("#element").lockScroll(false); 

Window shortcut

Use $.lockScroll to lock/unlock the window scroll.

History

v1.0.0

  • Initial Release

v1.1.0

  • Add function to lock and unlock window scroll
  • Update node packages
  • Add package.json missing fields
  • Update test suite to QUnit 2

License

MIT License © Eduardo Pittol


You May Also Like