How to Easily Smooth Scroll To Top Button On IP. Board. To create a button that is easy and practical, please follow the tutorial that I will give below properly.
Preview Demo :
- ACP
- Look
- Feel
- Your Skin
- globalTemplate
{parse template="includeJS" group="global" params="$jsModules"} {parse template="includeFeeds" group="global" params="$documentHeadItems"} {parse template="includeRTL" group="global" params=""} {parse template="includeVars" group="global" params="$header_items"}
Add this code above the one you just found:
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'></script> <script type='text/javascript'> jQuery.noConflict(); jQuery(document).ready(function($){ // Smooth scroll to top $('a[href=#top], a[href=#ipboard_body]').click(function(){ $('html, body').animate({scrollTop:0}, 400); // Replace 400 with whatever number you want return false; }); }); </script>
And you're done! With only a few lines of code.
It is How to Easily Smooth Scroll To Top Button On IP. Board, good luck!
Title: How to Easily Smooth Scroll To Top Button On IP. Board
Posted by:
Published :2013-09-08T10:00:00-07:00
How to Easily Smooth Scroll To Top Button On IP. Board
Related articles:
Posted by:
Published :2013-09-08T10:00:00-07:00
How to Easily Smooth Scroll To Top Button On IP. Board
0 comments :
Post a Comment