Releases: developerMicaelRoche/SectionScroll.js
Releases · developerMicaelRoche/SectionScroll.js
SectionScroll.js
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
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
BUG FIXES:
- Fallback for DetectOnScreen method, if no container of child is detected, default will be set to zero. (This occurred in scenarios with WordPress)
- 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.
- DetectOnScreen called after SetWindowListener is completed.
- AlterScroll method variable, active, selector modified to be more accurate. (Before could not identify the selection in some scenarios)
SectionScroll.js
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
v1.0.0 Update SectionScroll.js