nanotabs

Now in pocket size!

Download2KB!
nanotabs is a tiny version of idTabs that doesn't require jQuery.
You will probably find it usefull for pages like Wordpress.
I'm current playing Okami and it is great!
. . . . 1 2 3 4 5 6 7 8 9
. . . . 1 2 3 4 5 6 7 8 9

Options

nanotabs.settings = { c:"nanotabs", e:"click", s:"selected", d:0, f:false };

Notes

nanotabs is still in it's final stages of development.
Please use these notes as a reference.

Simply apply the class nanotabs and VoilĂ !
I've implemented everything idTabs can do and more.
I will create a better demo page later, view the source for now.
nanotabs first checks for an ID then for a Class.
Recommended events are click and mouseover
Default tab can be a string, or -1 for no tab.
Function needs to return false to stop nanotabs.
Function recieves following parameters:
f(id,a,e,s) where
   this = current tab
   id = current id
   a = all the tabs
   e = all the elements linked by the tabs
   s = settings
One catch is that at the moment it will always set elements to display:block;

Please email me any problems or suggestions you might have.