Responsive Supported jQuery Tab Plugin – Multipurpose Tabcontent

Looking for a affordable website?

GET STARTED
www.codingexpertz.com
Responsive Supported jQuery Tab Plugin – Multipurpose Tabcontent

File Size: 92KB

Total Views: 7

Date Created:

Last Modified Date:

Official Website: Go to website

License: MIT

Multipurpose tabcontent is a fully responsive and multiple devices supported jQuery tabs plugin that can be used for multiple requirements for a website. Multipurpose tabs transform default tabs to an accordion on responsive devices easily. The tabs have multiple design options and you can choose any design for the tabs that suits your project.

Features:

  • Tabs easily transform to an accordion-based on CSS breakpoint.
  • Supports next and previous options for the tabs.
  • Multiple design options.
  • Supports on all modern browsers and devices.
  • Uses CSS for the desktop/tablet/mobile view.
  • A specific tab can be kept open on load.

How to use it:

1. Include the Javascript jquery.multipurpose_tabcontent.js at the bottom of the web page.

<script src="path/to/jquery.multipurpose_tabcontent.js"></script>

2. Include the CSS style.css in the header of the page.

<link rel="stylesheet" href="path/to/style.css">

3. Add the basic HTML to the page.

<div id="tab-default" class="tab_wrapper">
    <ul>
      <li>....</li>
      <li>....</li>
      <li>....</li>
    </ul>
    <div class="content_wrapper">
      <div class="tab_content">.......</div>
      <div class="tab_content">.......</div>
      <div class="tab_content">.......</div>
  </div>
</div>

4. Initialize the plugin and we’re ready to go.

$('#tab-default').champ();

Plugin’s default options:

Name Default Description
plugin_type default: 'tab'
options: 'tab', 'accordion'
type waht to set as tab or accordion
side default: 'top'
options: 'left', 'right', 'top'
set tab list position.
active_tab default: '1'
options: 'numaric values'
set initial active tab
controllers default: 'false'
options: boolean (true / false)
If true, “Next” / “Prev” controls will be added
ajax default: 'false'
options: boolean (true / false)
If true, content can be added through ajax.
show_ajax_content_in_tab default: '1'
options: 'numaric values'
If option ‘ajax’ is true then, ‘show_ajax_content_in_tab’ will show content in specified tab number.
content_path default: 'false'
options: 'file path'
If option ‘ajax’ is true then, ‘content_path’ will show content in specified tab content area.

Leave a comment

Your email address will not be published. Required fields are marked *

STAYUPDATED

Receive all our future posts instantly in your inbox. Enter your email to enroll.