Using the same way either Anchors or even directly —> scrollTo
But before doing this you have first to save the right location-data in Wix-Local-Storage.
Process…
- You click on BUTTON.
- Before leave the site and change to the next one, you save some “key-data” in the local-storage.
- Then navigate to the next page (wix-location).
- When next page is loaded (onReady()) will start the function/action automaticaly.
- It will load the saved “key-data” from local storage.
- scrollTo() ----> $w(‘#’ + keyData)
ET VOILA, it works!
https://www.wix.com/corvid/reference/wix-location#top
https://www.wix.com/corvid/reference/wix-storage/introduction
Something similar to this one example, but more advanced, featured and improved…
https://russian-dima.wixsite.com/meinewebsite/reading-position