Hello,
I implemented a button to improve the user experience on the reactive page which i implement the following JS
But, now, when the user is on the top of the page I would like to hide smoothly the button to avoid the user continues clicking on the button when he are on the top of the page.
How can I do that?
Hey @Pedro Ricarte ,
See if this helps you:
https://stackoverflow.com/questions/21032676/dynamically-show-hide-back-to-top-button-with-javascript
https://www.w3schools.com/howto/howto_js_scroll_to_top.asp
Cheers
Thnaks for the quick help. It works