ScrollToAnchor Widget not working any alternatives

0
Hi, Would like a link to take me to an anchor in another internal page. ( Page1.link → opens Page2.Anchor) Tried ScrollToAnchor widget, but it gives an error in Mendix 8.18,x  and 9.1.x. Error  is No constructor found for widget ScrollToAnchor.widget.Anchor Could you please suggest alternatives of resolving this issue.   Thanks
asked
2 answers
0

This might do the trick:

Add a html-widget on you target page and add this javascript: https://codepen.io/stefan12/pen/LvRqWN

answered
0

Hello Tim, Thanks for the quick response. Appreciate your input.

     Will this work across the page? The button to go to is in source page and the scrolling you are suggesting is in the target page.

Thanks,

Ramesh

 

answered