Semantic Re-useable jQuery Tabs Plugin - Tabs

File Size: 4.48 KB
Views Total: 715
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Semantic Re-useable jQuery Tabs Plugin - Tabs

A tiny, easy-to-use jQuery tabs plugin which helps you implement multiple tabbed interfaces on your webpage.

How to use it:

1. Add references to jQuery library and the jQuery Tabs plugin's stylesheet & JS files.

<link rel="stylesheet" href="css/jquery.tabs.css">
<script src="jquery-1.11.3.min.js"></script>
<script type="src="js/jquery.tabs.js"></script>

2. Create a semantic tabbed interface as follow.

    <item>Tab 1</item>
    <item>Tab 2</item>
    <item>Tab 3</item>
    <item>Tab 4</item>
      <h2>Panel 1</h2>
      Content 1
      <h2>Panel 2</h2>
      Content 2
      <h2>Panel 3</h2>
      Content 3
      <h2>Panel 4</h2>
      Content 4

3. Initialize the tabs plugin.


4. Available plugin options.

// initial tab
iniciante: 1,  

// selector for tabbed navigation
menu: "menu", 

// selector for tabbed panels
abasConteudo: "panel", 

// selector for panel wrapper
conteudo: "content", 

// selector for main wrapper
principal: "tabs", 

// selector for navigaion items
itensMenu: "item",  

This awesome jQuery plugin is developed by renalcio. For more Advanced Usages, please check the demo page or visit the official website.