DHTML question.
http://eccentrick.co.uk/up/menu.html
The menus, well, you can see what I want.
The code is not very economic, I'm sure, so if there are any hints as to how to condense it that'd be great, but what I really need is for it to work!
As it is, you can approach the submenus from the bottom and they appear. They're still there, even though they're invisible. I need the onmouseover to only be active when moved to from the main menu item...
Thank you in advance!
uxx
The menus, well, you can see what I want.
The code is not very economic, I'm sure, so if there are any hints as to how to condense it that'd be great, but what I really need is for it to work!
As it is, you can approach the submenus from the bottom and they appear. They're still there, even though they're invisible. I need the onmouseover to only be active when moved to from the main menu item...
Thank you in advance!
uxx
Comments
<script language="javascript">
// <!---
function showMe(theName) {
document.getElementById(theName).style.visibil ity = 'visible';
}
function hideMe(theName) {
document.getElementById(theName).style.visibil ity = 'hidden';
}
// -->
</script>
in the head, and then the lines would look like:
<span class="menuitem" onMouseOver="showMe('subinfo');"
onMouseOut="hideMe('subinfo');">information</span>
Feel free to PM me the entire code if you can.
Thanks!