PDA

View Full Version : Resolved Horizontal Accordion script



rexi
04-20-2011, 04:33 PM
1) Script Title: Horizontal Accordion script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/haccordion.htm

3) Describe problem:

I need help about this script."Demo" on this page (http://fax1.blogger.ba/).

Thanks

azoomer
04-20-2011, 09:21 PM
The main reason it isn't working now is that the stylesheet (haccordion.css) is not loaded. Did you upload it to the server?

rexi
04-20-2011, 09:37 PM
Yes,..if you looking my HTML from "view source",..it is there.

azoomer
04-20-2011, 09:52 PM
I see the link to the style sheet, but the link leads to an error page. So somehow the path is not working. You need this css to get it working


/*Overall CSS for each Horizontal Accordion.
Most settings should be kept as it.
Customize each Accordion by styling each Accordion's ID attribute instead.
*/

.haccordion{
padding: 0;
}

.haccordion ul{
margin: 0;
padding: 0;
list-style: none;
overflow: hidden; /*leave as is*/
}


.haccordion li{
margin: 0;
padding: 0;
display: block; /*leave as is*/
width: 100%; /*For users with JS disabled: Width of each content*/
height: 200px; /*For users with JS disabled: Height of each content*/
overflow: hidden; /*leave as is*/
float: left; /*leave as is*/
}

.haccordion li .hpanel{
width: 100%; /*For users with JS disabled: Width of each content*/
height: 200px; /*For users with JS disabled: Height of each content*/
}