JQuery Layer Shell Component

Source: Internet
Author: User

Layer is a very good web layer in recent years, she has a full range of solutions, dedicated to serving all levels of developers, your page will easily have a rich and friendly operation Experience.

In comparison with similar components, layers are always easy to win. As much as possible, she is showing more robust features in less code, with extra focus on performance improvements, ease-of-use, and usability, and as a result, more and more developers are throwing their winks at the Layer. Layer is compatible with all major browsers, including IE6. Her impressive number of interfaces allows you to customize too many of the styles you need, each with its own distinctive features and Popularity. of course, This "po-selling melon" statement always sounds a little uncomfortable, so you need to know more about whether she is really what you want.

    1. Version Layer 2.2

    2. Yin Xin Free

    3. GitHub

Online example

Instance Preview Layer Instance demo Demo-jquery Popup Layer Plugin

Instance Preview Layer Instance test

Reference Manuals

Help document layer API Help documentation

Introducing Files
  1. <link rel="stylesheet" href="layer.css" Media="all" >
  2. <script Type="text/javascript" src="jquery.min.js"></ script>
  3. <script Type="text/javascript" src="layer.js"></script>
CopyHow to use
  1. <a href="javascript:;" onclick="test();" > i pop the window </a>
  2. <script>
  3. function Test() {
  4. //enter Any valid JS statement in this area
  5. Layer. Open({
  6. Type: 1,
  7. //page Layer
  8. Area: [' 500px ', ' 300px '],
  9. Title: ' hello, layer. ',
  10. Shade: 0.6,
  11. //matte Transparency
  12. Movetype: 1,
  13. //drag style, 0 is default, 1 is traditional drag
  14. Shift: 1,
  15. //0-6 animated form,-1 not open
  16. Content: ' <div style= ' padding:50px; > This is a very common page layer (type:1), passed in the custom html</div> '
  17. });
  18. }
  19. </script>
CopyDownload

JQuery Layer Shell Component

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.