Introduction to JQuery Layui Common methods _jquery

Source: Internet
Author: User

Layer Introduction:

Layer is a popular web pinball component in recent years, she has a full range of solutions, dedicated to the service level segment of the developers, your page will easily have a rich and friendly operation experience.

Layer (full name: Jquery-plugin-layer), a can let you think you can do the web window (layer) solution (JS component), the author Yin Xin (rookie-level front siege division). Layer focuses on the user's flexible customization, which provides motivation for different people to use their habits. The point is that you can make your page a richer and more convenient operation experience, which is easy to implement simply by configuring the relevant parameters when you call.

Layer has an obvious advantage over similar pop-up-level components, and she can show more robust functionality in less code as much as possible. Layer pay special attention to the performance of the promotion, using object-oriented ideas, 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 version of Layer). You can completely safely eject any number of layers on the page, and they don't interfere with each other. When you ask about her compatibility, layer must tell you that she is compatible with all browsers, including the old IE6.

Layer is a very useful UI component, pop-up, paging, etc.

http://layer.layui.com/

1 Bouncing windows with fork

Layer.open ({
type:1,
title:false,//Do not display title
content: ' hehe ',//Capture element area
: [' 400px ', ' 200px '],//Width high
//scrollbar:false,
cancel:function (index) {
layer.close (index);
}
});

The above is a small set to introduce the jquery Layui commonly used methods to introduce, I hope to help you, if you have any questions welcome to my message, small series will promptly reply to everyone!

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.