Rob Flaherty
Rob Flaherty
Hey - no, I haven't planned on updating it. It was a decent idea at the time but I think responsive design workflows have moved away from fixed-pixel grids.
I don't quite follow. Do you mean being able to specify the container that's used to calculate the max scroll distance instead of using the document height?
Got it, thanks. On the v2 branch I added an option to define the container element as well as an option to ignore certain elements (eg footer): https://github.com/robflaherty/scroll-depth/commit/25bba4f3fc1905f4ce9941e861930dd9c4373c2a