Hi,
You can send a post message from the iFrame to the page when the button is clicked and use the scrollTo( ) function when receiving the message from the iFrame.
I saw that thereās no anchor on the page itself. Do you wish to redirect to a different page and scroll to an anchor on that page on a user clicks on that button?
Yes, I want the user to click on the coded HTML button inside the HTML Box and - in this case - then being redirected to an anchor on a different page like āabout usā. IF that is generally possible, I want buttons like this on other pages to redirect to certain anchors on these particular pages as well.
I created that linked page just for showing these buttons. The page itself has anchors indeed
Hi,
I have a suggestion for you,
Change from anchor element to button element and use this article to communicate between the html element to āparentā.
Handle the navigation from onMessage event function.
Feel free to paste your code here if you canāt get it done.
Good luck!
Roi