Jquery ui dialog implement pop-up window Effects

Source: Internet
Author: User

Today, we use jquery ui dialog for a pop-up window effect. Let's take a look at the effect:

We can see that when you click, the pop-up window appears, and the pop-up window is centered, you can still drag it... To achieve this, you only need the following code:

We can see that the method for implementing the pop div is to prevent it from being autoopen. When I click it, I only need a dialog, and open is done. With the help of jquery ui, it's so easy to make a pop-up window... Of course, you can see that I also have a data insertion function, which I use the jquery appendto:

I first get the value through the variable, then create an html tag, and then appendTo the table. In this way, we can see that the data is inserted. Of course, this is not a database... We can remember that with juqery ui, a dialog, we can implement a drag-and-drop window...

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.