just for the heck of it, i tried the following code, straight from the text i have. it results in the same thing. no pull-down menu with "error on page" in status bar. details of error are object expected line 30, column 1. i know it's a javascript error but not why. i will post the code. one other question. the # symbol in the <style> section i have not seen before.
i have also tried the postion:absolute in the <style> section. all that does is put the menu so far up the screen i can't see it all.
tyvm.
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
<html xmlns="
<head>
<title>My Pull-down Menu</title>
<script language="JavaScript" type="text/javascript">
<!--
stdBrowser = (document.getElementById) ? true : false
function toggleMenu(currElem,nextPos) {
menuObj= (stdBrowser) ? document.getElementById(currElem).style : eval("document." + currElem)
if (toggleMenu.arguments.length == 1 {
nextPos = (parseInt(menuObj.top) == -5) ? -90 : -5
}
menuObj.top = (stdBrowser) ? nextPos + "px" : nextPos
}
-->
</script>
<style type="text/css">
<!--
.menu {font: 12pt Times New Roman,serif; background-color:#aead99; layer-background-color:#aead99;top:-90px}
#mainMenu {left:10px; width:70px;}
a {text-decoration:none; color:black}
a:hover {background-color:navy; color:white}
-->
</style>
<body bgcolor="white">
<div id="mainMenu" class="menu" onmouseover="toggleMenu('mainMenu', -5)" onmouseout="toggleMenu('mainMenu', -90)"><br />
<a href="
/>
<a href="
/>
<a href="
/>
<a href="
/>
<a href="
/>
<a href="javascript:toggleMenu('mainMenu')">Main</a>
</div>
</code>
</body>
</html>