e.g. Click on one Div, that closes and another one opens.
Cheers :)
Expand|Select|Wrap|Line Numbers
- function toggle(theDIV){
- chStyle = document.getElementById(theDIV).style ;
- if(chStyle.display == "block" || leStyle.display =="") {
- chStyle.display = "none";
- }
- else{
- chStyle.display = "block";
- }
- }