javascript - a tag that scrolling to buttom of page -
this question has answer here:
- scroll automatically bottom of page 12 answers
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
Post a Comment