Mootools 1.2 Easy Accordion Example

For a current project I've had to do a bunch of mootools based accordion effects.  I've seen a bunch of examples, but never one that did everything I wanted it to do.  So from one pixel pusher to another I'm sharing the mootools example love.

Whatever, show the mootools accordion to me.

Or download the example.

Feeling generous? Give us a link somewhere on your site linking the words "Minneapolis Web Design".

This is using the mootools 1.21 framwork.  The thing to remember in this example is:

  • .toggler = class for element doing the toggling
  • .element = class for element being toggled
  • .active = class set to active toggler element

Enjoy!


Add to Technorati Favorites Tweet This!