Perfect solution for WeChat pull-down, perfect solution for mail pull-down

Source: Internet
Author: User

Perfect solution for pull-down and pull-down, perfect solution for pull-down
Turn http://note.youdao.com/share? Id = f13df2c846cac5d4f0e24a715d8372a6 & type = note #/perfect solution for pulling and pulling together. 1. Use jroll. js to download jroll. js. 2. DOM structure: class container: Sliding Page 3. Add css # wrapper {position: absolute; top: 44px; bottom: 0; width: 100% ;} 4. Compile js <script src = "js/jroll. js "> </script> <script> // block the default event document of the browser. addEventListener ('touchmove ', function (e) {e. preventDefault ()}, false); var jroll = new JRoll ("# wrapper", {id: "demo1"}); </script>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.