Hello, i would like to select different DIV sections by selecting a radio button. So far I have got:
function toggle( targetId ){
ie4 = ((navigator.appName == "Microsoft Internet Explorer" && (parseInt(navigator.appVersion) >= 4 ));
if (ie4){
target = document.all( targetId );
if (target.style.display == "none"{
target.style.display = "";
} else {
target.style.display= "none";
}
}
}
Now on a click event this will display whats in the relevent DIV tags but it will display them one after the other instead of one at a time. I need a way of hiding the other DIV's whilst one is selected!
hope this makes sense.
Thanks..
function toggle( targetId ){
ie4 = ((navigator.appName == "Microsoft Internet Explorer" && (parseInt(navigator.appVersion) >= 4 ));
if (ie4){
target = document.all( targetId );
if (target.style.display == "none"{
target.style.display = "";
} else {
target.style.display= "none";
}
}
}
Now on a click event this will display whats in the relevent DIV tags but it will display them one after the other instead of one at a time. I need a way of hiding the other DIV's whilst one is selected!
hope this makes sense.
Thanks..