🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

simpletabber

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpletabber

Simple jQuery plugin for tabbed content

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Simpletabber

Simple jQuery plugin for tabbed content

Usage

Run plugin on html structure similar to one bellow:

$('.tabModule').tabber();
<div class="tabModule">
    <div class="tab">
        <h3>Tab title</h3>
        <div class="tabContent">
            Tab1 content
        </div>
    </div>
    <div class="tab">
        <h3>Tab title</h3>
        <div class="tabContent">
            Tab2 content
        </div>
    </div>
    <div class="tab">
        <h3>Tab title</h3>
        <div class="tabContent">
            Tab3 content
        </div>
    </div>
</div>

Available options / defaults

$.tabber.defaults = {
    'tabBtnClass': 'btn',
    'tabBtnSelector': '.btn',
    'tabBtnActiveClass': 'active',
    'tabBtnTitleSelector': 'h3',

    'navDefined': false,
    'tabNavClass': 'tabNav',
    'tabNavTag': 'div',
    'tabSelector': '.tab',
    'tabActiveClass': 'active',
    'numTabsClassPrefix': 'numTabs',

    'afterInit': null,
    'afterTabChange': null,
    'afterNavRender': null,
    'afterRender': null
};

Keywords

jquery

FAQs

Package last updated on 18 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts