Hi, Could someone please tell me how i would go about adding this code to a ss site. I've tried a few different things but can't seem to get it to work. Any help would be greatly appreciated.
<style type="text/css"> #Div1, #Div2, #Div3 { display: none; } </style>
<script type="text/javascript">
function Toggle(theDiv) {
document.getElementById("Div1").style.display = "none";
document.getElementById("Div2").style.display = "none";
document.getElementById("Div3").style.display = "none";
document.getElementById(theDiv).style.display = "block";
}
</script>
<input type="radio" name="ToggleDivs" onclick="Toggle('Div1');" >Turn on Div 1<br >
<input type="radio" name="ToggleDivs" onclick="Toggle('Div2');" >Turn on Div 2<br >
<input type="radio" name="ToggleDivs" onclick="Toggle('Div3');" >Turn on Div 3<br >
<div id="Div1">I am the content of Div 1</div>
<div id="Div2">I am the content of Div 2</div>
<div id="Div3">I am the content of Div 3</div>