- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
“Accordion”-4
March 29, 2011
This is an ‘Accordion’ Script. So-called ‘Accordion’ is a drop-down panel that holds some additional content.
JavaScript
In order to make the script work, the index-#.html file with a gallery should contain these lines of HTML code:
In this block of coding we specify the id of the accordion button – #link and its actions. When the button is clicked the class link2 is applied to the button, and the action for an element with the id #dropdown_box is triggered.
HTML
Below you can see general HTML script representation:CSS
You can find script related stylesheet in the main style.css file.



