Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/animalillo/jtabs
Simple javascript tab system
https://github.com/animalillo/jtabs
Last synced: 11 days ago
JSON representation
Simple javascript tab system
- Host: GitHub
- URL: https://github.com/animalillo/jtabs
- Owner: animalillo
- License: lgpl-3.0
- Created: 2013-05-29T07:26:35.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T02:50:55.000Z (over 7 years ago)
- Last Synced: 2023-07-31T14:43:03.375Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING.LESSER
Awesome Lists containing this project
README
jtabs
=====The usage of this javascript + jquery library its pretty simple:
1. Import the script ritght after the jquery plugin and the corresponding css.
- tabbedContent.js
- tabbedContent.css2. Edit the global script variables (are documented and explained on the code) or use the given ones
3. Use the script:- To show a tab: TabbedContent.show(tab identifier)
- To hide all tabs: TabbedContent.hideAll()
- To change the active tab to another: TabbedContent.changeTo(tab identifier)
- To add a tab: TabbedContent.addTab(tab identifier, tab title, tab content, [change to it(true/false)], [callback_function()])
- To delete a tab: TabbedContent.deleteTab(tab identifier)This program is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .