Need to make a mouse over menu

Hello,

I have a website I am working on.

My main page links are buttons.

What I would like is for the submenu to be hidden until you click on that main button.

I think this is called a mouse over.

I only know straight html, I have seen this done with java & css, but I have never used those before.  I need to do this is the simplest way possible.

Here is my code:

<ul id="nav">


<table width="100%" border="0" cellspacing="0" cellpadding="0" height="20">  
<trvalign="left"><tr align=center valign=top>


<td width="2" height="20"></td>
<td bgcolor="" width="20%" height="20"> <vertical-align: super>
<div align="left"><font face="Arial" size="1" color="#000000">
<a href="#"><IMG SRC="Buttons/btn_01_on.gif" BORDER="0" Width="" Height=""></a>
      <ul>
                <dl><a href="#" STYLE="TEXT-DECORATION: NONE">Management Team</a></dl>
                <dl><a href="#" STYLE="TEXT-DECORATION: NONE">Business Philosophy</a></dl>
                <dl><a href="#" STYLE="TEXT-DECORATION: NONE">History</a></dl>
            <dl><a href="#" STYLE="TEXT-DECORATION: NONE">Portfolio</a></li></dl>
                  
</ul>
</div>
</td>

<td width="2" height="20"></td>
<td bgcolor="" width="20%" height="20">
<div align="left"><font face="Arial" size="1" color="#000000">
<a href="#"><IMG SRC="Buttons/btn_02_on.gif" BORDER="0" Width="" Height="" vertical-align: super></a>
      <ul>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Inventors</a></dl>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Institutions</a></dl>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Companies</a></dl>
</ul>
</div>
</td>

<td width="2" height="20"></td>
<td bgcolor="" width="20%" height="20">
<div align="left"><font face="Arial" size="1" color="#000000">
<a href="#"><IMG SRC="Buttons/btn_03_on.gif" BORDER="0" Width="" Height=""></a>
      <ul>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Inventor</a></dl>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Institutions</a></dl>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Companies</a></dl>
</ul>
</div>
</td>

<td width="2" height="20"></td>
<td bgcolor="" width="20%" height="20">
<div align="left"><font face="Arial" size="1" color="#000000">
<a href="#"><IMG SRC="Buttons/btn_04_on.gif" BORDER="0" Width="" Height=""></a>
      <ul>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">Events</a></dl>
                <dl><a href="#"STYLE="TEXT-DECORATION: NONE">DRC Archive</a></dl>
                
</ul>
</div>
</td>

<td width="2" height="20"></td>
<td bgcolor="" width="20%" height="20">
<div align="left"><font face="Arial" size="1" color="#000000">
<a href="#"><IMG SRC="Buttons/btn_05_on.gif" BORDER="0" Width="" Height=""></a>
      
</ul>
</div>
</td>

</ul>

Thank you.
LVL 5
GDoucetteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

YZlatCommented:
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="20">
                  <tr>
                        <td onmouseover="document.getElementById('first').style.visibility = 'visible';" onmouseout="document.getElementById('first').style.visibility = 'hidden';" align="middle" width="100px">
                              <a href="#"><IMG SRC="Buttons/btn_01_on.gif" BORDER="1" Width="" Height=""></a><br>
                              <table id="first" width="100%" style="visibility:hidden;">
                                    <tr>
                                          <td><a href="#" STYLE="TEXT-DECORATION: NONE">Management Team</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">Business Philosophy</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">History</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">Portfolio</a></td>
                                    </tr>
                              </table>
                        </td>
                        <td onmouseover="document.getElementById('second').style.visibility = 'visible';" onmouseout="document.getElementById('second').style.visibility = 'hidden';" align="middle" width="100px">
                              <a href="#"><IMG SRC="Buttons/btn_02_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                              <table id="second" width="100%" style="visibility:hidden;">
                                    <tr>
                                          <td><a href="#" STYLE="TEXT-DECORATION: NONE">Inventors</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">Institutions</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">Companies</a></td>
                                    </tr>
                              </table>
                        </td>
                        <td onmouseover="document.getElementById('third').style.visibility = 'visible';" onmouseout="document.getElementById('third').style.visibility = 'hidden';" align="middle" width="100px">
                              <a href="#"><IMG SRC="Buttons/btn_03_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                              <table id="third" width="100%" style="visibility:hidden;">
                                    <tr>
                                          <td><a href="#" STYLE="TEXT-DECORATION: NONE">Inventors</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">Institutions</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">Companies</a></td>
                                    </tr>
                              </table>
                        </td>
                        <td onmouseover="document.getElementById('fourth').style.visibility = 'visible';" onmouseout="document.getElementById('fourth').style.visibility = 'hidden';" align="middle" width="100px">
                              <a href="#"><IMG SRC="Buttons/btn_04_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                              <table id="fourth" width="100%" style="visibility:hidden;">
                                    <tr>
                                          <td><a href="#" STYLE="TEXT-DECORATION: NONE">Events</a></td>
                                    </tr>
                                    <tr>
                                          <td>
                                                <a href="#" STYLE="TEXT-DECORATION: NONE">DRC Archive</a></td>
                                    </tr>
                              </table>
                        </td>
                        <td align="middle" width="100px">
                              <a href="#"><IMG SRC="Buttons/btn_05_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                        </td>
                  </tr>
            </table>
0
GDoucetteAuthor Commented:
Thanks for the mouseover,

but what happened to my links.  They are no longer lined up, and the submenus are way over to the right?

Thanks,
0
YZlatCommented:
just line them up the way you want to using <div>
0
YZlatCommented:
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="20">
               <tr>
                    <td onmouseover="document.getElementById('first').style.visibility = 'visible';" onmouseout="document.getElementById('first').style.visibility = 'hidden';" align="middle" width="100px">
                         <a href="#"><IMG SRC="Buttons/btn_01_on.gif" BORDER="1" Width="" Height=""></a><br>
                         <div align="left"><font face="Arial" size="1" color="#000000">

                  <table id="first" width="100%" style="visibility:hidden;">
                              <tr>
                                   <td><a href="#" STYLE="TEXT-DECORATION: NONE">Management Team</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">Business Philosophy</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">History</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">Portfolio</a></td>
                              </tr>
                         </table>
</div>
                    </td>
                    <td onmouseover="document.getElementById('second').style.visibility = 'visible';" onmouseout="document.getElementById('second').style.visibility = 'hidden';" align="middle" width="100px">
                         <a href="#"><IMG SRC="Buttons/btn_02_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
<div align="left"><font face="Arial" size="1" color="#000000">

                         <table id="second" width="100%" style="visibility:hidden;">
                              <tr>
                                   <td><a href="#" STYLE="TEXT-DECORATION: NONE">Inventors</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">Institutions</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">Companies</a></td>
                              </tr>
                         </table>
</div>
                    </td>
                    <td onmouseover="document.getElementById('third').style.visibility = 'visible';" onmouseout="document.getElementById('third').style.visibility = 'hidden';" align="middle" width="100px">
                         <a href="#"><IMG SRC="Buttons/btn_03_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                         <div align="left"><font face="Arial" size="1" color="#000000">

<table id="third" width="100%" style="visibility:hidden;">
                              <tr>
                                   <td><a href="#" STYLE="TEXT-DECORATION: NONE">Inventors</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">Institutions</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">Companies</a></td>
                              </tr>
                         </table>
</div>
                    </td>
                    <td onmouseover="document.getElementById('fourth').style.visibility = 'visible';" onmouseout="document.getElementById('fourth').style.visibility = 'hidden';" align="middle" width="100px">
                         <a href="#"><IMG SRC="Buttons/btn_04_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                        <div align="left"><font face="Arial" size="1" color="#000000">

 <table id="fourth" width="100%" style="visibility:hidden;">
                              <tr>
                                   <td><a href="#" STYLE="TEXT-DECORATION: NONE">Events</a></td>
                              </tr>
                              <tr>
                                   <td>
                                        <a href="#" STYLE="TEXT-DECORATION: NONE">DRC Archive</a></td>
                              </tr>
                         </table>
</div>
                    </td>
                    <td align="middle" width="100px">
                         <a href="#"><IMG SRC="Buttons/btn_05_on.gif" BORDER="1" Width="" Height="" vertical-align:super></a><br>
                    </td>
               </tr>
          </table>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.