Web Toolbar by Wibiya

Friday, September 16, 2011

Horizontal Accordion script




Step 1: Insert the following code in the HEAD section of your page
Select All

The code above references 2 external .js files and an image, which you need to download below (right click/ select "Save As"):
  1. haccordion.js (one variable near the top inside this file you should customize)
  2. haccordion.css
By default, upload these files to the same directory as where your webpage resides.
Step 2: Insert the below sample code into the BODY section of your page:
Select All

It contains the HTML for a sample horizontal accordion. That's it for installation!

Original code on :- www.dynamicdrive.com 

No comments:

Related Posts Plugin for WordPress, Blogger...