Jquerylayui Common Method Example sharing

Source: Internet
Author: User
Layer is a popular web bomb in recent years, she has a full range of solutions, dedicated to service all levels of the developer, your page will be easy to have a rich and friendly operation experience, and then through this article to introduce Layui common methods, need of friends reference, hope to help everyone.

Layer Introduction:

Layer (full name: Jquery-plugin-layer), a can make you think of the Web popup (layer) solution (JS component), the author of the Heart (rookie-level front siege division). Layer focuses on the user's flexible customization, which provides the power for different people to use their habits. The implication is that you can have a richer and more convenient experience with your page, which you simply need to configure with the relevant parameters at the time of invocation.

The benefits of layer are obvious compared to similar pop-up layer components, and she is as much more robust as possible in less code. Layer attaches great importance to performance improvement, using object-oriented thinking, in the multi-layer mode callback processing, with the other most layers of components do not have "independent conflict" (has been concerned about the new layer). You can safely pop up any number of layers on the page, and they don't interfere with each other. When asked about her compatibility, the layer must tell you that she is compatible with all browsers, including the old IE6.

Layer is a very useful UI component, popup, paging, etc.

http://layer.layui.com/

1 pop-up window with fork

Layer.open ({type:1,title:false,//Do not display title content: ' hehe ',//Captured element area: [' 400px ', ' 200px '],//wide-high//scrollbar:false, Cancel:function (Index) {layer.close (index);}});
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.