http://www.dhtmlgoodies.com/index.html? ... tent_slide
but I have two different sizes of buttons on my site, as some have longer text in, which needs to wrap round.
I have made a new class name, dhtmlgoodies_question_big, and set up the CSS so it displays correctly, but obviously without calling it, the Javascript isn't going to work.
Does anybody know how to add a second class name to this section of the script on the above page:
for(var no=0;no<divs.length;no++){
if(divs[no].className=='dhtmlgoodies_question'){
(It's right near the end of the script).
I tried
if(divs[no].className=='dhtmlgoodies_question')or(divs[no].className=='dhtmlgoodies_question_big'){
as well as other things I could think of, but I know little about Javascript, and this is one of those things that is apparently very difficult to search for on Google, due to the term "className" coming up a lot, but not in the context I was searching for.
Any help would be very much appreciated.