Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (31 sloc) 0.857 kb

nuTabs

nuTabs - MooTools-based, transitionified switcherification!

Screenshot

How to use

JavaScript

$$('#tabs-nav a, #tabs-body li').tabify({
    transition: 'bounce:out'
});

Or

new nuTabs($$('#tabs-nav a'), $$('#tabs-body li'), {
    transition: 'bounce:out'
});

HTML

<ul id="tabs-nav">
    <li class="selected"><a href="#">Tab 1</a></li>
    <li><a href="#">Tab 2</a></li>
    <li><a href="#">Tab 3</a></li>
</ul>

<ul id="tabs-body">
    <li class="active">Content 1</li>
    <li>Content 2</li>
    <li>Content 3</li>
</ul>

Options

All options have default values assigned, hence are optional.

Version 1.0

  • transition: (mixed) the object or string of a specific transition, ie. "bounce:out"
  • navActiveClass: (str) active class name for the tabs
Jump to Line
Something went wrong with that request. Please try again.