Skip to content
项目

关于

为当今 Web 打造的 jQuery 标签页模块!

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

tabulous.js

A jQuery tabs module for todays web!

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

<script type="text/javascript" src="tabulous.js"></script>
<script type="text/javascript" src="js.js"></script>
Create the tabs
  <div id="tabs">
  	<ul>
			<li><a href="#tabs-1" title="">Tab 1</a></li>
			<li><a href="#tabs-2" title="">Tab 2</a></li>
			<li><a href="#tabs-3" title="">Tab 3</a></li>
		</ul>
		<div id="tabs_container">
			<div id="tabs-1">
				<!--tab content-->
			</div>
			<div id="tabs-2">
				   <!--tab content-->
			</div>
			<div id="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

						</tbody>
					</table>
Variable Default Value Description Valid Options
effect scale The effect to use for the transition scale / slideLeft / scaleUp / flip

探索相关项目

加载中…