Scroll 50% of the viewport when clicking a button, without a target anchor
-
Hi!
Your plugin is great, I already use it on dozens of sites…Just today I came across something more customized, I need for example:
After clicking on an element, the page scrolls down 50% (viewport), I didn’t find anything like that in the documentation…
I already have an event listening to this click, I also change other things on the page when it clicks, I just need to scroll 50% of the screen height.
Can I get this with your plugin?
Only with javascript can I do this smooth scrolling? The times I tried there was no transition, it just jumped straight.Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Scroll 50% of the viewport when clicking a button, without a target anchor’ is closed to new replies.