Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 666 Bytes

File metadata and controls

16 lines (10 loc) · 666 Bytes

Scroll inception jQuery plugin

Nice introduction

A way to avoid scroll inception, that awkward moment when you scroll in an embeded scrollable block…

Demo is avalaible here.

How to use this

  1. Get jQuery, or use a CDN, like jsDelivr;
  2. Get the jQuery plugin;
  3. Add these to your page;
  4. Any element using data-scrollinception="true" will use the plugin.
    (Ex. <iframe src="//lorem.com" … data-scrollinception="true"></iframe> )
  5. Scroll