Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Posts
    603
    Thanks
    2
    Thanked 1 Time in 1 Post

    Nav Sub-Menu problem

    how come this script works well in IE, but in Firefox, every hover you do over the subnav column keeps moving downward with empty space? (www.condraft.com) -> Click on Mock Draft


    Code:
     <tr class="nav_normal" onClick="document.getElementById('sub_mock').style.display='block';" onMouseOver="this.className='nav_over';" onMouseOut="this.className='nav_normal';"> 
              <td><span class='nav_text'>Mock Draft</span></td>
            </tr>
            <tr id="sub_mock" style="display:none;" onMouseOver="document.getElementById('sub_mock').style.display='block';" onMouseOut="document.getElementById('sub_mock').style.display='none';"> 
              <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr> 
                    <td width="10%">&nbsp;</td>
                    <td width="90%"><a class="subnav" href="http://condraft.com/mock.php?r=1">Round 
                      1</a></td>
                  </tr>
                  <tr> 
                    <td>&nbsp;</td>
                    <td><a class="subnav" href="http://condraft.com/mock.php?r=2">Round 
                      2</a></td>
                  </tr>
                  <tr> 
                    <td>&nbsp;</td>
                    <td><a class="subnav" href="http://condraft.com/mock.php?r=3">Round 
                      3</a></td>
                  </tr>
                </table></td>
            </tr>

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Your abusing tables really badly. A table isn't meant to markup a menu. Use an unordered or order list instead. Check out this site for a better markuped script.

  • #3
    Regular Coder
    Join Date
    Oct 2003
    Posts
    603
    Thanks
    2
    Thanked 1 Time in 1 Post
    fixed... thanks.
    Last edited by boeing747fp; 07-18-2005 at 01:44 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •