jQuery experiments: Expand/Collapse in different directions

the script

These jQuery examples were inspired by Karl Swedberg's article - Slide Elements in Different Directions. Here, the concept has been implemented slightly differently.

With JavaScript disabled, the links "Collapse"/"Expand" are needless and could only confuse the user. That's why, to separate the behaviour from the content, the elements that trigger the animation are generated by the jQuery script.


If you find a bug or have a suggestion/request, please send me an e-mail.

More Expand/Collapse demos:

  1. jQuery: Expand/Collapse
  2. jQuery: Accordion
  3. jQuery: Accordion - Nested Lists
  4. jQuery: Accordion - Heading/DIV
  5. jQuery: Accordion with corresponding href and title attributes
  6. jQuery: Multiple Expand All/Collapse All
  7. jQuery: Toggle the visibility of the sidebar
  8. jQuery: Nested Accordion