Click to See Complete Forum and Search --> : something is of the matter...nav menu


xataku_nakusute
07-21-2003, 04:36 PM
ok, heres basically all of my code:
onClick menu script
menu(table)
probable source of problem
<html>
<head>
<title>blah</title>
<style>
a
{
color: #c0c0c0;
text-decoration: underline;
}
body
{
scrollbar-face-color: #ffffff;
scrollbar-arrow-color: #404060;
scrollbar-highlight-color: #404060;
scrollbar-3dhighlight-color: #ffffff;
scrollbar-shadow-color: #ffffff;
scrollbar-darkshadow-color: #404060;
scrollbar-track-color: #ffffff;
font-family: arial, tahoma;
font-size: 9pt;
color: #404060;
}
table
{
background: #ffffff;
border-style: solid;
border-width: 1px;
border-color: #404060;
width: auto;
height: auto;
filter: alpha(Opacity=100);
}
table.menu
{
background: transparent;
border-style: solid;
border-width: 0px;
}
td.1
{
background: #ffffff;
border-style: solid;
border-width: 1px;
border-color: #ffffff;
width: auto;
height: auto;
filter: alpha(Opacity=100);
font-family: arial, tahoma;
font-size: 9pt;
color: #404060;
}
.2
{
border-style: solid;
border-width: 1px;
border-color: #404060;
width: auto;
height: auto;
filter: alpha(Opacity=67);
font-family: arial, tahoma;
font-size: 9pt;
color: #404060;
}
td.3
{
background: #ffffff;
border-style: solid;
border-width: 1px;
border-color: #404060;
width: auto;
height: auto;
filter: alpha(Opacity=100);
font-family: arial, tahoma;
font-size: 9pt;
color: #404060;
}
.4
{
border-style: solid;
border-width: 1px;
border-color: #404060;
width: auto;
height: auto;
filter: alpha(Opacity=37);
font-family: arial, tahoma;
font-size: 9pt;
color: #ffffff;
background: #404060;
}
</style>
<script type="text/javascript">
function show(txt) {
obj = document.getElementById(txt);
obj.style.display == "block" ? obj.style.display = "none" : obj.style.display = "block"; // {
}
</script>
</head>
<body background="C:\Documents and Settings\Owner\Desktop\Stuff\xb02.bmp">
<table>
<tr>
<td style="cursor: default" class="1" onmouseover="this.className='2'" onmouseout="this.className='1'" onclick="show('menu1'); return false;">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in; color: #404060;">
Hello
</font>
</td>
<td style="cursor: default" class="1" onmouseover="this.className='2'" onmouseout="this.className='1'" onclick="show('menu2'); return false;">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in; color: #404060;">
Hello
</font>
</td>
<td style="cursor: default" class="1" onmouseover="this.className='2'" onmouseout="this.className='1'" onclick="show('menu3'); return false;">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in; color: #404060;">
Hello
</font>
</td>
</tr>
</table>
<table class="menu">
<tr>
<td id="menu1" style="display: none; cursor: default; position: absolute; top: 37; left: 12px;" class="3" onmouseover="this.className='4'" onmouseout="this.className='3'">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in;">
Text
</font><br />
<tr>
<td style="cursor: default;" class="3" onmouseover="this.className='4'" onmouseout="this.className='3'">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in;">
Text
</font>
</tr>
<tr>
<td style="cursor: default;" class="3" onmouseover="this.className='4'" onmouseout="this.className='3'">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in;">
Text
</font>
</td>
</tr>
</td>
<td id="menu2" style="display: none; cursor: default; position: absolute; top: 37; left: 44px;" class="3" onmouseover="this.className='4'" onmouseout="this.className='3'">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in;">
Text
</font>
</td>
<td id="menu3" style="display: none; cursor: default; position: absolute; top: 37; left: 75px;" class="3" onmouseover="this.className='4'" onmouseout="this.className='3'">
<font style="cursor: default; font-family: arial, tahoma; font-size: 0.1in;">
Text
</font>
</td>
</tr>
</table>
</body>
</html>


my prob is that im tryin to get the menu to display more than one row....

if you can help me out, i would be deeply pleazd

)(aTaKu_(\)aKuSuTe

sumyounguy
07-21-2003, 05:06 PM
looks fine to me...

xataku_nakusute
07-21-2003, 05:15 PM
but when the page loads....the two tr's are visible....

i want the two tr's to appear with the first menu td

xataku_nakusute
07-21-2003, 05:41 PM
:D nvm i found out what to do

thanx anyway