From: http://www.cnblogs.com/ywqu/archive/2009/09/02/1558423.html
About jquery tab plug-in, the more popular is jquery UI tabs, recently this plug-in has been updated, address for http://stilbuero.de/jquery/tabs_3/
Currently, many websites in China are using this plug-in. I hope you will have time to try it out.
Today, we suddenly found a more lightweight and functional jquery tab plug-in. First, let's look at its functions;
1. A simple configuration can achieve the following results:
Http://flowplayer.org/tools/demos/tabs/index.html
2. You can customize your own tabs by extending the CSS style.
/* alternate colors: skin2 */
ul
.skin2
a
{
background-color:
#89a
;
color:
#fff
!important;
}
/* mouseover 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
: Very good prompt function plug-in
Scrollable
: Rolling effect plug-in
Overlay
: Very useful mask layer plug-in
Expose
: Dimmed background