Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="rodape">
- <h6>Desenvolvido com carinho pela Comp JΓΊnior</h6>
- <img src="assets/img/icones/arrowUp.png" id="back_to_top" onclick="topFunction()">
- </div>
- <script>
- function topFunction() {
- document.body.scrollTop = 0; // For Safari
- document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement