Menu inside a table: it does work! Here's how

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
SoTTo
Advanced
Advanced
Posts: 26
Joined: Thu May 30, 2002 6:59 pm
Contact:

Menu inside a table: it does work! Here's how

Post by SoTTo »

After trying, go check the site (to find that it should work, & that there SHOULD be an example on the FAQ), and after reading the forum....
i got it working:
My menu in a cell of a table
This is how i done it:

Code: Select all

<table>
  <tr><td>Blah blah blah test test blahblahblah</td></tr>
  <tr>
    <td>
        <SCRIPT>PlaceMenu("mainmenu")</SCRIPT>
        &nbsp;
    </td>
  </tr>
  <tr><td>Blah blah blah test test blahblahblah</td></tr>
</table>

Important is the &nbsp; AFTER the placemenu-call

What also works is this:
BUT: then in Internet Explorer the border of the tablecell won't be showed...and in netscape it does show
(that's because internet explorer doesn't have the capability to show empty cells...there's a css-thing that can enable/disable "show empty cells" in netscape i think)

Code: Select all

<table>
  <tr><td>Blah blah blah test test blahblahblah</td></tr>
  <tr>
     <td valign=top>					
        <SCRIPT>PlaceMenu("mainmenu")</SCRIPT>
     </td>
   </tr>
</table>
Important is the valign=top
Mommy, Look! The cursor's winking at me!
Post Reply