Skip to content
Fabtabulous! Simple tabs using Prototype - Good, clean, wholesome tabs. Just like grandma used to make.
Latest commit 4e5bad8 Jun 19, 2012 @atetlaw - added an experimental transition option with an alternative 'fade' …
…transition between tabs

- fixed a bug with the remote tab link handler


Simple tabs using Prototype

In this simple tab implementation you identify a block element (by ID) that has a bunch of anchor elements which become tabs.

new Fabtabs('tabs');

The anchors must link to IDs within the page e.g.

<a href="/page.html#something">link</a>

The element at #something should be a block element and that becomes the tab body. The rest is CSS.

Something went wrong with that request. Please try again.