Step 1: Insert the following code in the HEAD section of your page
The code above references 2 external .js files and an image, which you need to download below (right click/ select "Save As"):
- haccordion.js (one variable near the top inside this file you should customize)
- 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:
It contains the HTML for a sample horizontal accordion. That's it for installation!
Original code on :- www.dynamicdrive.com
No comments:
Post a Comment