Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js">
- </script>
- <script type="text/javascript" language="javascript">
- $(function () {
- $('#scrlBotm').click(function () {
- $('html, body').animate({
- scrollTop: $(document).height()
- },
- 1500);
- return false;
- });
- $('#scrlTop').click(function () {
- $('html, body').animate({
- scrollTop: '0px'
- },
- 1500);
- return false;
- });
- });
- </script>
- _________________________________________________________________________________________________________
- <a id="scrlTop" title="back to top" href="#" style="position: fixed; bottom: 5px; right: 5px;"><font size="7px">▲</font></a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement