This is an adaptation of the DynamicDrive code for Mouseover Tabs which is valid and will not get tagged as spam.
Hover over the menu items above to see second level menu appear. Use the Spam Detector to test this page and see that it is OK and acceptable.
The difference is in these lines:
<body onload="hide;">
and
<a href="submenucontents.htm" id="see-nosee">Sub Menu contents</a>
The style associated with the id="see-nosee" sets visibility to visible in the initial style given to it:
#see-nosee { visibility: visible; }
Then the body onload event onload="hide" changes this visibility to hidden:
<script type="text/javascript" >
<!--
/* Function to hide visibility of id see-nosee onload */
function hide() {
document.getElementById("see-nosee").style.visibility = "hidden";
}
// -->
</script>
The effect is that if you turn off javascript you will see properly the entry which gets hidden by javascript onload and revealed by mouseover thereafter.