drag and share
  • Twitter
  • Delicious
  • Facebook
  • Digg
  • Reddit
  • Stumbleupon

A horizontal JavaScript accordion not bigger than 1kb

By: Mark Dijkstra    In: Javascript Menu

This versatile 1kb horizontal accordion script can be used for menus, images, presentation content and more.

Hello you, if you are new here, you might want to subscribe to our RSS feed for updates on this article and our site.

x

I had seen a similar looking feature on the MooTools homepage and set out the replicate the functionality as a standalone script and as lightweight as possible. The script will automatically adjust to the number of elements in the accordion and the dimensions of the accordion.

See a demo here

Written by: Mark Dijkstra

Mark Dijkstra is the founder and main writer of OpenSourceHunter. He's also a passionate freelance web developer and designer. Mark is one of those people that spend too much time on the internet to keep up with all of the trends and tools.
You can follow Mark on twitter @ MarkDijkstra

Share this Story

If you enjoyed reading, consider sharing the love with the rest of the world.

Share

2 Comments

Deoxys

January 29, 2009

Oh, please write “than” with an “a” …

The Hunter

January 29, 2009

@Deoxys -
Done, thanks for telling me ;)

greetz

Add Your Comment

Your name

September 9, 2010

We use Gravatars on OpensourceHunter, they are little icons that appear next to your name on this site and on many others. You can get a Gravatar account for free and any other site that supports it will show your avatar too. Get your Gravators account here!