Tabify
This Jquery plugin lets you easily create tabbed content. All you need is an ul-element with some li-elements and a couple of related content-divs. The major difference between Tabify and it’s competitors is it’s size.
How to use Tabify
It is very easy to use Tabify. All you need to do is to create an ul-list, fill it with a couple of li-elements with containing links (tabs) and create a couple of matching content divs. In the example below notice how the href-attribute on the link elements corresponds to the content div IDs.
- <ul id="menu">
- <li class="active"><a href="#jquery">jQuery</a></li>
- <li><a href="#prototype">Prototype</a></li>
- <li><a href="#ext">Ext</a></li>
- </ul>
- <div id="jquery">
- jQuery is a cross-browser…
- </div>
- <div id="prototype">
- The Prototype JavaScript…
- </div>
- <div id="ext">
- Ext (X-t) is a JavaScript…
- </div>
When you have created the necessary html code you need to include the javascript file with the plugin and call the tabify method.
- $( selector ).tabify();
- //…or with a callback
- $( selector ).tabify(function(){});
| Version | Changes |
|---|---|
| 1.5 | Fixed an issue where multiple instances would make Tabify crash. |
| 1.4 | Fixed an issue where a malformed hash would make Tabify crash. |
| 1.3 | Fixed an issue causing the page to jump when you clicked on the tabs |
3 days ago
Twitter Bootstrap 2.0 is here. By nerds, for nerds. Cross everything. http://t.co/J4cFxGlb A neat looking front-end toolkit.
5 days ago
“CoffeeScript is Beautiful; Don’t Use It” My thoughts exactly. Thank you @ryanflorence! http://t.co/4bTAAIqE
5 days ago
“CoffeeScript is Beautiful; Don’t Use It” My thoughts exactly. Thank you @ryanflorence! http://t.co/4bTAAIqE
9 days ago
Looking for a solid way to do application versioning? Look no further. http://t.co/OMYJ2xzF Semantic Versioning guidelines are nifty!
11 days ago
The impossible is possible! http://t.co/Y4whjPIT Girl sneezes with open eyes.
15 days ago
On Amazon: Bad reviews are better for product sales than no reviews. (via @ronnestam )
15 days ago
There are only 180k Twitter users in Sweden, but ~75% of Sweden’s journalists use Twitter. (via @ronnestam )