wouter's designs initials

wouter's designs logo

.: XHTML, CSS & JavaScript Gallery :.

Horizontal Accordion JavaScripts

These scripts turn an ordinary UL list into a horizontal accordion! Move your mouse over a text block to expand it side ways while contracting its peers. The HTML markup of the Accordion can either be defined inline on the page, or inside an external file instead and fetched via Ajax. Plus you can specify which text block should be expanded by default, whether to persist the last expanded panel (within a browser session), and also, expand a particular panel by passing in different parameters into the URL string. All this makes for a versatile, smooth horizontal accordion!

Demo 1: Hover over the text blocks below to reveal the full content.





Demo 2: Hover over the text blocks with the images below to reveal the full content.


Expand 1st Panel | Expand 2nd Panel | Expand 3rd Panel | Expand 4th Panel | Expand 5th Panel

- JavaScript - Dynamic Drive -

Last updated:

w3c Xhtml 1.1

w3c Css 2.1


© copyright:Wouter's Designs.
This document may not be translated, duplicated, redistributed or otherwise appropriated.