首页 > 代码库 > jQuery 滑动选项卡jQuery tabulous.js
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
Variable | Default Value | Description | Valid Options |
---|---|---|---|
effect | scale | The effect to use for the transition | scale / slideLeft / scaleUp / flip |
下载
jQuery 滑动选项卡jQuery tabulous.js
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。