Categories

“Accordion”-4

Template-help.com Team March 29, 2011
Rating: 3.8/5. From 12 votes.
Please wait...

This is an ‘AccordionScript. 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: accordion-4-1 The section of the index-#.html file contains these lines of code that initialize the script functionality with basic values: accordion-4-2 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: accordion-4-3 header-banner-right – class defines the height and position when the box with the content is hidden (closed) #link – this class is used for the button element #dropdown_box – this id should be assigned to a box with the content

CSS

You can find script related stylesheet in the main style.css file. accordion-4-4
This entry was posted in Accordion, Working with jQuery scripts and tagged accordion, jQuery. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket