SOLVED: onClick, Link to another page, then run page code

Hello Arthur,

Two ways to acheive this.

  1. Either add a cookie or storage Item ,on button click, in the browser and do a normal wixLocation.to() when you go to that page read the cookie and if it matches, then scroll to the anchor.

  2. Add this code to the site code (A bit worse of a solution then the first)

Hope this helps,

Majd