Self-service mobile end pop-up window

Source: Internet
Author: User

Can the mobile side use the alert pop-up window? Hey, get yourself a.

  function AlertDiv () {            var alertdiv = $ (' <div class= "overlay" style= "z-index:99999; left:0px;" ><div class= "Phone-alert" ><div class= "Phone-alert-panel" ><div class= "Phone-alert-content" > Please fill in the correct phone </div><div class= "phone-alert-line" ></div><a href= "javascript:void (0);" class= "pbtn" Id= "Confirmtag" > Confirm </a></div></div></div> ');     $ ("Body"). Append (AlertDiv);     Tap ($ ("#confirmTag") [0], function () {$ (". Overlay"). Remove ();     });

As for the style, you can design a set of your own.

As follows:

When you design CSS, pay attention to design the mask layer underneath the pop-up window to prevent the following page from being clicked.

Then this is not a plug-in, write a lack of, but also look haihan.

Self-service mobile end pop-up window

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.