Modal Frame Modal.js

Source: Internet
Author: User

Modal frames are optimized and more flexible, appearing as pop-up dialogs with the smallest and most useful feature set.

modal frame overlap not supported

Never overlap another modal box on a modal box. To support multiple modal frames at the same time, you need to write additional code yourself.

Where to place the HTML code of the Modal box

Be sure to place the HTML code for the modal box at the highest level of the document (that is, as a direct child of the body tag) to prevent other components from affecting the presentation and/or functionality of the modal box.

Additional Instructions for mobile devices

Due to how HTML5 defines its semantics, the autofocus HTML attribute have no effect in Bootstrap modals. To achieve the same effect, use some custom JavaScript:

$(‘#myModal‘).on(‘shown.bs.modal‘, function () { $(‘#myInput‘).focus() })
Instance static instance

The following modal boxes contain the head, body, and a set of buttons placed at the bottom of the modal box.

Modal Frame Modal.js

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.