Jquery scroll to the bottom of the Code
The following is an introduction to jquery code scrolling to the bottom of the top. I hope it will help you.
Jquery scroll to the bottom of the top is a simple scroll to the bottom of the top control. It is a very practical function that helps new users and senior developers create a good user experience. We recommend it to you here. If you need it, you can refer to it.
HTML
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<! Doctype html> <Html lang = "en"> <Head> <Meta charset = "UTF-8"> <Title> image pre-loading </title> <Link rel = "stylesheet" type = "text/css" href = "css/index.css"> <Script type = "text/javascript" src = "js/jquery-1.8.3.min.js"> </script> <Script type = "text/javascript" src = "js/index. js"> </script> </Head> <Body> <Div class = "a"> Jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top jquery scroll to the bottom jquery scroll to the top bottom jquery scroll to the bottom of the top </Div> <Input type = "button" class = "scrollTop" value = "Back to Top"> </Body> </Html> |
JS Code
?
1 2 3 4 5 |
$ (Function (){ $ (". ScrollTop"). click (function (){ $ ('Html, body'). animate ({scrollTop: 0}, 'low'); // return to the top }) }) |
The above is all the code in this article. I hope you will like it.