I believe something on this code chunk is not properly coded making it incompatible on XHTML 1.0 Transitional.
The code snippet collapses div and then on click they will expand.
Can somebody see what could be wrong?
<script type="text/javascript">
function toggle(div){
el = document.getElementById(div);
if (el.style.display == 'none')
{
el.style.display = '';
} else {
el.style.display = 'none';
}
}
</script>
I have this before the <BODY>
tag. If I remove the DOCTYPE another menu I have stops working but then the rows expand by default and aren't collapsed.