Hello,
Currently using:
$w("#anchor1").scrollTo()
to conditionally move a page where I want it to be. This unfortunately takes time to scroll. Is there a way to "Jump" to an anchor instead, so it instantly appears there without the animation?
I experimented a bit with :
scrollBy(x,x)
but that command didn't seem to work too well in Chrome.
Thanks!
David
Note that you are using 'scroll' function and it works by 'scrolling' up or down the relevant page regardless of if you use an anchor or want to go to a set point on the page.
https://support.wix.com/en/article/request-setting-links-to-directly-jump-to-the-anchored-section-instead-of-the-scroll-to-section-effect