Browsing Tag

Scriptaculous

LightWindow

Javascript Library: Prototype & Scriptaculous
License: “MIT-style license”
Found Via: Stickman Labs

Create a Simple, Intelligent Accordion Effect Using Prototype and Scriptaculous

We’ve all seen the “accordion” type effect used on many Web 2.0 sites; however, many accordion scripts are heavy, make poor use of the libraries they are based on, and don’t handle things like ensuring that the accordion maintains a consistent height. In this tutorial, we will use the Prototype and Scriptaculous libraries to create a lightweight, intelligent accordion.