. NET Literacy-Web Page dialog box app

Source: Internet
Author: User

in the b/S in the project , more and more features need to be added to the page , but one page carries so many features , will make the page beautiful, and even experience the friendliness of the great discount . But if some elements are not very necessary to hide first, when the user click on the element to appear in the corresponding form, such a design can reduce the volume of page pages, so that web designers to develop their own imagination, design more user-friendly UI interface.


As shown in the following:

Prompt box:


Warning Box:


above page dialog box , I'm sure we're not strangers . , The most common is pop-up landing / registration box, like Baidu:


There are some , such as modification of input, etc. :


Conversation Page , actually, it's the pop-up box we always say. , Pop-up pages can also be customized . See here believe you have found , The design of the dialog has great potential to explore . here 's a look , Implementation Method .

mainly used in JavaScript in window use of Objects window.showModalDialog function to open a IE the modal window , then use Window.returnvalue Properties , returned as a return value .

Home:

<span style= "Font-family:microsoft yahei;font-size:14px;" ><pre name= "code" class= "HTML" ><! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
Sub page:

<span style= "Font-family:microsoft yahei;font-size:14px;" ><! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

This returnvalue can also be a JS array in addition to the Boolean value, integer value, etc., and is used to pass large amounts of data. In the. NET platform, the JS array is a common transfer object, and by serialization, it is possible to transfer data between two pages conveniently.


. NET Literacy-Web Page dialog box app

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.