Example of Jquery Implementation of custom pop-up window _ jquery

Source: Internet
Author: User
The prompt dialog box that comes with javascript is not very beautiful. If you use a custom dialog box, you will have more control over the style, below we will share with you the Jquery custom pop-up window in project development. If we use the prompt dialog box that comes with javascript, it will not feel very beautiful, so we usually define some dialogs by ourselves, here, I click the button to pop up a login window. Click this window and you can drag and drop the window. Too much text is unclear and you can directly use the code to speak.

Here I paste the HTML, CSS, and Jquery Code separately.

HTML section:

The Code is as follows:


Pop-up window




Login to tenghu pass
×





















Enter User Name




Enter Password



Next Automatic Login Forgot password?
Register now




You can log on using the following method:



  • QQ

  • MSN







Part of the CSS code:

The Code is as follows:




Jquery code:

The Code is as follows:


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.