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!