<! Doctype html public "-// w3c // dtd xhtml 1.0 transitional // en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "content-type" content = "text/html; charset = gb2312"/>
<Title> jquery pop-up layer plug-in and usage </title>
</Head>
<Body>
Jquery pop-up layer plug-in Daquan:
1. thickbox
Currently, it is widely used. The latest version is thickbox3.1.
: Http://jquery.com/demo/thickbox/#examples
2. colorbox
Http://colorpowered.com/colorbox/
: Http://colorpowered.com/colorbox/colorbox.zip
Demo instance: http://colorpowered.com/colorbox/core/example1/index.html
3. fancybox
Http://fancybox.net
: Http://fancybox.googlecode.com/files/jquery.fancybox-1.2.5.zip
Demo instance: http://fancybox.net/example
4. jqueryui dialog
Http://jqueryui.com/demos/dialog/
: Http://jqueryui.com/demos/dialog/
Demo instance: http://jqueryui.com/demos/dialog/
5. dom window
Http://swip.codylindley.com/
: Http://swip.codylindley.com/jquery.dom?#
Demo instance: http://swip.codylindley.com/domwindowdemo.html
6. shadowbox
Http://www.shadowbox-js.com/
: Http://www.shadowbox-js.com/download.html
Demo instance: http://www.shadowbox-js.com/index.html
</Body>
</Html>
The following describes the usage of jquery plug-ins.
After simple configuration, the following results can be achieved:
Http://flowplayer.org/tools/demos/tabs/index.html
2. You can customize your own tabs by extending the css tutorial style.
/* Alternate colors: skin2 */
Ul. skin2 {
Background-color: # 89a;
Color: # fff! Important;
}
/* Mouseo tutorial ver state */
Ul. skin2 a: hover {
Background-color: #678;
}
/* Active tab */
Ul. skin2 a. current {
Background-color: # 4f5c6a;
Border-bottom: 2px solid # 4f5c6a;
}
/* Tab pane with background gradient */
Div. skin2 div {
Color: # fff;
Background: #234 url (/img/global/gradient/h300.png) repeat-x scroll 0-50px;
Min-height: 200px;
}
The effect is as follows:
Http://flowplayer.org/tools/demos/tabs/skins.html
3. Only the browser's "Forward" and "backward]
Code
$ (Function () {$ ("ul.css-tabs"). tabs ("div.css-panes> div", {history: true });});
The effect is as follows:
Http://flowplayer.org/tools/demos/tabs/history.html
4. Call the content of each tab through ajax. The tab page content is called only when the tab button is clicked for the first time.
It is very simple to use and the effect is as follows:
Http://flowplayer.org/tools/demos/tabs/ajax.html
5. tab wizard, such as the process of creating a shopping cart order
Complete personal information-> modify shopping cart items-> View orders
The effect is as follows: http://flowplayer.org/tools/demos/tabs/wizard.html
This function is particularly useful.
6. You can find the accordion in other ways. The display address is as follows:
Http://flowplayer.org/tools/demos/tabs/accordion-horizontal.html
The plug-in is as follows:
Http://flowplayer.org/tools/download.html
Jquery. tools. min. js is a ui function package and includes other ui effects.
Tooltip: a good reminder plug-in
Scrollable: Rolling effect plug-in
Overlay: A good mask layer plug-in
Expose: dimmed background