Hi all,
I'm pretty average when it comes to javascript so bear with me if you will.
I have a number of divs on a page that show their content when a heading is clicked, I pretty much have this under control, but I am trying to get all of the other divs to hide when one is shown (kinda like some of the compiled help files' effect - sort of).
What I want to know is; if there is a way to refer to all the divs on a page in a script, or any other better solutions that you may have.
Any suggestions would be appreciated.
Cheers
hads.
I'm pretty average when it comes to javascript so bear with me if you will.
I have a number of divs on a page that show their content when a heading is clicked, I pretty much have this under control, but I am trying to get all of the other divs to hide when one is shown (kinda like some of the compiled help files' effect - sort of).
What I want to know is; if there is a way to refer to all the divs on a page in a script, or any other better solutions that you may have.
Any suggestions would be appreciated.
Cheers
hads.