Skip to content

Releases: developerMicaelRoche/SectionScroll.js

SectionScroll.js

06 Nov 00:48
c9dbbb8

Choose a tag to compare

UPDATE:
Supports key scrolling - up, down, left, and right.
Supports mobile touch movement - y-axis.
Scroll animation duration is optional, default 500(ms).

BUG FIX:
Page no longer scrolls to the bottom of the page when scrolling down when offset exists at the top of the page, and vice versa for the bottom.

SectionScroll.js

05 Nov 20:53
94adfc5

Choose a tag to compare

BUG FIX:
Script would stop working when scrolling up past the first child of the first container. (This would occur if there were offsets or other elements placed above the first container)

SectionScroll.js

05 Nov 20:30
55d7191

Choose a tag to compare

BUG FIXES:

  1. Fallback for DetectOnScreen method, if no container of child is detected, default will be set to zero. (This occurred in scenarios with WordPress)
  2. Created 2 methods, SetWindowListener and WindowListening, replacing the window event listener for load and resize. This is so the function can be called more flexibly.
  3. DetectOnScreen called after SetWindowListener is completed.
  4. AlterScroll method variable, active, selector modified to be more accurate. (Before could not identify the selection in some scenarios)

SectionScroll.js

05 Nov 00:08
6742dbe

Choose a tag to compare

SectionScroll.js v2.0.0 includes a jQuery script, SectionScroll-2.0.0.js, for better compatibility and improved handling.

These files are not to be used together, as it would create all manner of issues.

SectionScroll.js

03 Nov 04:14
82caea3

Choose a tag to compare

v1.0.0

Update SectionScroll.js