I am trying to write a script where drop-downs can be put anywhere in my pages... Can someone make this thingy work? 1 week on it now... trying NOT to use select boxes, thx,
jenn

document.write("<style>table{font-size:10pt}tr{background:#209090}a{color:#000000;text-decoration:none;font:bold}a:hover{colo

r:#FFFFFF}td.menu{background:408060;font-size:10pt;position:absolute;visibility:hidden;z-index=1000}</style>")

function setVisibility() {
document.getElementById('menu1').onmouseover="document.subMenu1.style.visibility='visible'";
document.getElementById('menu1').onmouseover="document.subMenu1.style.visibility='hidden'";
}

document.write('<table cellpadding=0 cellspacing=0 border=0>')
document.write('<tr><td id="menu1"')

document.write('<table cellpadding=3 cellspacing=1 border="0" width=100%><tr>')
document.write('<td nowrap><a href="../link1.html">Menu Item 1</a></td>')
document.write('</tr></table>')

document.write('<table cellpadding=3 cellspacing=1 border=0 class="menu" id="subMenu1" width=100%>')
document.write('<tr><td class="menu"><a href="../html">HTML</a></td></tr>')
document.write('<tr><td class="menu"><a href="../xhtml">XHTML</a></td></tr>')
document.write('<tr><td class="menu"><a href="../css">CSS</a></td></tr>')
document.write('<tr><td class="menu"><a href="../xml">XML</a></td></tr>')
document.write('<tr><td class="menu"><a href="../xsl">XSL</a></td></tr>')
document.write('</table>')

document.write('</td></tr></table>')

window.onload=setVisibility;