Index | Example 1 | Example 2 | Example 3 | Example 4 | Example 5 | Example 6

You can DOWNLOAD the full example HERE

An accordion without style sheets and without color parameters

The difference between the first and second is that the second is able to contract itself by clicking
in the expanded tab title, in both the height is fixed at 100px

Normal Accordion

Helen Hayes
Every human being on this earth is born with a tragedy, and it isn't original sin. He's born with the tragedy that he has to grow up. That he has to leave the nest, the security, and go out to do battle. He has to lose everything that is lovely and fight for a new loveliness of his own making, and it's a tragedy. A lot of people don't have the courage to do it.
Robin Green
You've got your phenomenon on one hand. Concrete and knowable. On the other hand you've got the incomprehensible. You call it God, but to me, God or no, it remains just that, the unknowable.
Trey Parker
You know, I think that if parents would spend less time worrying about what their kids watch on TV and more time worrying about what's going on in their kids' lives, this world would be a much better place.
Mitch Hedberg
I don't own a cell phone or a pager. I just hang around everyone I know, all the time. If someone wants to get a hold of me, they just say 'Mitch,' and I say 'what?' and turn my head slightly.

Retractable Normal Accordion

Eddie Izzard
If you're choking in a restaurant you can just say the magic words, 'Heimlich maneuver,' and all will be well. Trouble is, it's difficult to say 'Heimlich maneuver' when you're choking to death.
Edward Murrow
When the politicians complain that TV turns the proceedings into a circus, it should be made clear that the circus was already there, and that TV has merely demonstrated that not all the performers are well trained.
Ralph Waldo Emerson
In the highest civilization, the book is still the highest delight. He who has once known its satisfactions is provided with a resource against calamity.
Douglas Adams
In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri.
auto = the size is detected and so the accordion expands until that it shows all its contents (options -> panelHeight:"auto")
normal = it doesn't show more than a tab (options -> mode:normal [by default]) is the opposite of free (options -> mode:"free")
retract = it is able to contract all its tabs (it works with loadedTab:-2 [in "normal" tabs the initial tab to show is hidden] )





It was coded by Luis Huancapaza