I am using moo.fx Accordion and trying to make an alteration to the way it works and need some help.
I need to set all items in this array:
var myStretcher =
to this style:
so far, i have:
What is the proper way to set all these styles? Am I even doing [what little I am doing] right?
Anybody with knowledge of this script would be extremely helpful.
Here's the site:
_______________
_brian.
I need to set all items in this array:
var myStretcher =
Code:
document.getElementsByClassName('accordian');
to this style:
Code:
display: 'block';
overflow: 'hidden';
visibility: 'hidden';
height: '0px';
filter: 'alpha(opacity=0)';
opacity: '0';
outline-color: invert;
outline-style: none;
outline-width: medium;
-moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial;
Code:
for(i=0;i<=myStretcher.length;i++){
myStretcher[i].style.display = 'block';
myStretcher[i].style.filter = 'alpha(opacity=0)';
myStretcher[i].style.opacity = '0';
}
What is the proper way to set all these styles? Am I even doing [what little I am doing] right?
Anybody with knowledge of this script would be extremely helpful.
Here's the site:
_______________
_brian.