javascript - a tag that scrolling to buttom of page -


this question has answer here:

need make button scroll buttom of site. button:

 <a href="#" class="button-bord">read more <br /><p class="glyphico glyphicon-chevron-down arrow-down"></p></a> 

how can make scrolls buttom of site? suggestions :)

this jquery:

<head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> </head>

here in script:
<script> $('.button-bord').on('click', function() { $('html, body').animate({scrolltop:$(document).height()}, 'slow'); return false; }); </script>


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -