Animate background color in jQuery
home
Run
screen_rotation
fullscreen
cloud_download
navigate_before
<!DOCTYPE html> <html> <head> <title>jQuery Scrolltop Demo example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"> </script> <script type="text/javascript"> $(document).ready(function() { function scrollToTop(){ $(window).scrollTop(0); } }); </script> </head> <body> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <h4 ><a href="javascript:void(0);" onclick="scrollToTop()" >Click to scroll top </a></h4> <div></div> </body> </html>
<!DOCTYPE html> <html> <head> <title>jQuery Scrolltop Demo example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"> </script> <script type="text/javascript"> $(document).ready(function() { function scrollToTop(){ $(window).scrollTop(0); } }); </script> </head> <body> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <p>Demo Text Demo Text ....</p> <h4 ><a href="javascript:void(0);" onclick="scrollToTop()" >Click to scroll top </a></h4> <div></div> </body> </html>
Copyrights@tutorialsplane.com