jQuery 滑动选项卡jQuery tabulous.js
A jQuery tabs module for todays web!
实例DEMO
Documentation
Tabulous.js can be used with any contents you choose in the tabs and it couldn't be more simpler to use.
..:: Getting Started
Include the relevant files
Firstly include jQuery and the tabulous.css and tabulous.js files. Place these before <head>
section
Create the tabs
<divid="tabs">
<ul>
<li><ahref="#tabs-1"title="">Tab 1</a></li>
<li><ahref="#tabs-2"title="">Tab 2</a></li>
<li><ahref="#tabs-3"title="">Tab 3</a></li>
</ul>
<divid="tabs_container">
<divid="tabs-1">
<!--tab content-->
</div>
<divid="tabs-2">
<!--tab content-->
</div>
<divid="tabs-3">
<!--tab content-->
</div>
</div><!--End tabs container-->
</div><!--End tabs-->
复制
Initiate the plugin
Once you have created your tabs you will need to initiate the plugin.
At its most basic level you can initiate the plugin like:
$(document).ready(function($){
$('#tabs').tabulous();
});
复制
If you want to initiate the plugin with options then you can do so like:
$('#tabs').tabulous({
effect:'scale'
});
复制
..:: Options
effect | scale | The effect to use for the transition | scale / slideLeft / scaleUp / flip |
相关推荐
EdwardSiCong 2020-11-23
85477104 2020-11-17
hhanbj 2020-11-17
81427005 2020-11-11
seoppt 2020-09-13
honeyth 2020-09-13
WRITEFORSHARE 2020-09-13
84483065 2020-09-11
momode 2020-09-11
85477104 2020-08-15
83510998 2020-08-08
82550495 2020-08-03
tthappyer 2020-08-03
84901334 2020-07-28
tthappyer 2020-07-25
TONIYH 2020-07-22
tztzyzyz 2020-07-20
83510998 2020-07-18
81463166 2020-07-17