JQuery implements a stylish and beautiful pop-up dialog box instance, and jquery implements a fashion instance
This example describes how jQuery implements a stylish pop-up dialog box.
Click the pop-up layer, click the off-layer area to close the pop-up layer, and click Close to close the jquery effect of the pop-up layer. The Code is as follows, if you like it, you can learn how to click the out-of-layer dialog box to close the jquery special effect on the pop-up layer. The code is concise and clear
. Finally, to facilitate the use of variable parameters in multiple scenarios, you must use $. extend to specify the default value.
The beta version is expected to be released after the festival, but it is still not deleted.
Online Demo: http://demo.jb51.net/js/jquery_cvbox/index.htm
Package download: http://xiazai.jb51.net/201010/yuanma/jquery_cvbox.rar
Jquery. cvbox. min. js Code
The Code is as follows:
/** J
JBox is a jQuery-based multi-function dialog box plug-in that can achieve the overall style of the website and give users a new visual experience. Plugin description
-JBox is a jQuery-based multi-function dialog box plug-in that c
JQuery mask layer logon dialog box, jquery mask Logon
User logon is a required feature for many websites. One way is to click the login button on any page of the website to display the User Login Dialog Box. This method is flexibl
If iframe is used, the dialog box cannot be displayed, and sometimes we must use iframe instead of jQuery's load method. Below is a good solution, I hope it will be helpful for you to use the jQuery pop-up box. However, if you use iframe, the dialog
in jquery directly:Copy codeThe Code is as follows: var left = ($ (window). Width ()-dialog. Width ()/2;VaR Top = ($ (window). Height ()-dialog. Height ()/2;Dialog.css ({top: Top, left: Left}); there is no fixed mode in IE6, but it can be simulated using the window. onscroll event:
// The distance from the top dialog
This article mainly introduces the menu with closed #215; in the upper-right corner of the jQuery code implementation dialog box. For more information, see the following, if you think it is not bad, please refer to the implementation code:
The Code is as follows:
Closed in the upper-right corner of the jQuery
This article mainly introduces the menu with closed #215; in the upper-right corner of the jQuery code implementation dialog box. For more information, see the following, if you think it is not bad, please refer to the implementation code:
The Code is as follows:
Closed in the upper-right corner of the jQuery
This article introduces the example code of the plug-in dialog to implement the pop-up effect in jquery. If you need it, refer to it.
The Code is as follows:
Bullet box mask effect
Iconbig:null,//Display large icon to the left of content
Buttons:null,//button collection [{text: ' button display text ', fn: callback function (event)}],event = {}
close:true//whether to show the Close button
}
}) (JQuery);
Call
Copy Code code as follows:
$.alert ({
Title: ' Mars warns you ',//dialog box caption
Content: ' We are M
Click the pop-up layer, click the off-layer area to close the pop-up layer, and click Close to close the jquery effect of the pop-up layer. The Code is as follows, if you like it, you can learn how to click the out-of-layer dialog box to close the jquery special effect on the pop-up layer. The code is concise and clear
When developing a mobile application using jquery Mobile, a dialog box pops up on one page, closes the dialog box, and finds that the original page is refreshed. If there are some data that has been selected or filled out on the original page, the data will be lost. At this
1. Lightview
http://www.nickstakenburg.com/projects/lightview/
Lightview is a prototype and script.aculo.us development that creates a modal dialog box that can cover the entire page. The content can be displayed not only in pictures, text, Web pages, through Ajax calls, but also in quicktime/flash movies that can be shown with very cool effects.
2. Thickbox (demo address)]
http://jquery.com/demo/thickb
To get richer custom dialog box features, a dialog box plugin was written in jquery, and a rich custom dialog box was available simply by referencing the relevant JavaScript.
Plug-in f
The principle is very simple. JS dynamically constructs a div layer and inserts it into the body. Then, by adjusting the CSS attribute of position to absolute or fixed, it disconnects it from the location of the original document stream. Then it becomes through proper processing and beautification.Copy codeThe Code is as follows: This is the structure of the two div layers. The first background cover layer is created only when necessary. Each div defines a CSS class to facilitate customization o
Implementation of the Modal Dialog Box1. A container div restricts the scope of the Modal Dialog Box. components covered by this div cannot be clicked.2. A translucent sub-div in the container div to implement the mask effect. width: 100% height: 100%;3. A dialog box div in
Yii-custom deletion confirmation dialog box (zyd). Simple and stylish. It is suitable for cool people. Do not miss out on fashion. I hope this article will help you with your knowledge.
1. Link
The Code is as follows:
'C _ 06c', 'onclick' => 'Return art_del_confirm ("/company/msglog/delete/id /'. $ data-> zml_id. '"," Are you sure you want to delete this message? ") ')?>
2. jq
The Code is a
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.