Very good web pop-up layer framework and web pop-up framework
The original connection of this article is: http://blog.csdn.net/freewebsys/article/details/48162545 is not allowed by the blogger can not be reproduced.
1. About the web pop-up layer
In the previous web pop-up layer, jqueryui was used, which is complicated and big.
And the style is strange. The file is large.
About layer
Layer is a web bullet layer component with excellent reputation in recent years. It has all-round solutions and is dedicated to serving developers of various levels, your page will have a rich and friendly operation experience.
In comparison with similar components, the layer is always easy to win. She tries her best to show more robust functions with less code, and pays special attention to performance improvement, ease of use, and practicality. For this reason, more and more developers put their eyes on the layer (which has been noticed by 1864085 people ). Layer is compatible with all mainstream browsers including IE6. With a considerable number of interfaces, you can customize too many styles that you need. Each layer-7 mode has its own characteristics and is very popular. Of course, this kind of "Wang maifangua" Statement always sounds a little uncomfortable, so you need to know if she is as expected.
Official Website: http://layer.layui.com/
2. Start Using
Http://layer.layui.com/hello.html
Hello world
<! Doctype html>
Effect:
Show iframe
// Pop up an iframe layer $ ('# parentIframe '). on ('click', function () {layer. open ({type: 2, title: 'iframe parent-child operation', maxmin: true, shadeClose: true, // click the mask to close the layer area: ['800px ', '20px '], content: 'test/iframe.html '});});
Effect:
3. Summary The original connection of this article is: http://blog.csdn.net/freewebsys/article/details/48162545 is not allowed by the blogger can not be reproduced.
A very convenient pop-up window, and the open-source protocol lgpl. Very friendly.
It is very suitable for web and management background development.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.