简体   繁体   中英

How to make a jquery popup menu

I am trying to make a Login popup window. For example, if someone clicked the login button a popup window will show and it will change the opacity of the main page and give focus to the popup window.

Here is an example of a web site that utilizes what I want to implement.

You can use the jquery dialog referenced in your post for this.

Here is an example of how to create form elements on it.

你可以使用jqueryUI 对话框

you could also use the jQuery BlockUI plugin:

http://plugins.jquery.com/project/blockUI

I've used the Boxy plugin before, it's very lightweight (lighter than JQueryUI, although not as much functionality).

It's very easy to use, it was the first plugin I used when learning jQuery.

http://jqueryui.com/dialog/#modal-form

use this site link Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the modal option to true, and specify primary and secondary user actions with the buttons option.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM