I currently looking for a JavaScript (Jquery lib for example) solution to adjust the position of the scroll to a specific css class. The goal is to reposition the scroll bar on the nearest container.
As this website : http://www.takumitaniguchi.com/tokyoblue/
Thank JUJU
if you use JQuery something like that is relatively easy to achieve if i understand your question correctly.
Heres roughly how i would do it:
This might not be the best way to do it, but it should work. Just call the function and pass a JQuery selection as the first argument.