JavaScript effect instance 011-Popup Full Screen page modal dialog box

Source: Internet
Author: User
Tags script tag

Instance 011 Popup Full-screen display of the page Mode dialog box Instance descriptiona full-screen Web page modal dialog box pops up, and the user cannot browse other content of the site before closing. Technical EssentialsThis example mainly applies the width, Height property of the screen object and the ShowModalDialog () method of the Window object. In fact, there is another way to open the Web Page dialog box, the showModelessDialog () method. the difference between using the ShowModalDialog () and the showModelessDialog () method is that the ShowModalDialog () Open Web Page dialog box is a modal window that is placed on the parent window and must be closed to access the parent window The dialog box opened by the showModelessDialog () method is a modeless window that does not close and can access the parent window or other windows. implementation Process(1) main window to realize the function index.html
(2) Pop-up window new.html
Note: The content of the style tag is the knowledge of CSS, and we focus on the content within the script tag. So this example of ours is done.




JavaScript effect instance 011-Popup Full Screen page modal dialog box

Related Article

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.