RexxCrow
08-22-2007, 09:06 AM
The highlighted portion is ignored and I feel it has something to do with the about and contact, but am at a loss as to how to remedy this, I can get it to work in IE but that is all (by removing the ' ''s from that text), any ideas as to were my flaw(s) are in in this function? TIA
<script language="javascript" type="text/javascript"><!--
function goVis(swap){
getV=document.getElementById(swap)
if(getV=='contact'&&about.style.display=='block'){
about.style.display='none'
}
if(getV=='about'&&contact.style.display=='block'){
contact.style.display='none'
}
if(getV.style.display=='none'){
getV.style.display='block'
}else{
getV.style.display='none'
}
}
//--></script>
<script language="javascript" type="text/javascript"><!--
function goVis(swap){
getV=document.getElementById(swap)
if(getV=='contact'&&about.style.display=='block'){
about.style.display='none'
}
if(getV=='about'&&contact.style.display=='block'){
contact.style.display='none'
}
if(getV.style.display=='none'){
getV.style.display='block'
}else{
getV.style.display='none'
}
}
//--></script>