Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:21

Trouble with tables


Poster: MattH
Dated: Wednesday August 6 2003 - 17:13:22 BST

I'm trying to get the menu to appear static in a table. I used the presrcibed html:
Code:
<td height="20px" style="background-color: rgb(124, 138, 164); width: 130px;" class="small">
<script>PlaceMenu("mainmenu")</script>
</td>

The menu appears in the table, but the top border is about halfway down the side. Putting the <script> tags just outside the <td> tag fixes the problem in Internet Explorer (6+), but Mozilla (1.4) displays the menu starting on the right border of the table. What can I do to fix this? I've tried changing the offsets, but that doesn't do anything.

Second question: I can't for the life of me figure what I'm doing wrong with this code. I'm trying to get a menu item to be the same color with and with out mouseover. It matches the "Can DHTML menu elements have different colors within menus?" example perfectly:
Code:
,"BLAH","http://www.blah.com/blah/","# onbackcolor=354463;offbackcolor=354463;",,1

example:
Code:
,"Web Tools","show-menu=WebTools","# onfontcolor=ffffff;onbackcolor=9999ff;offfontcolor=ffffff;offbackcolor=0000ff;",,1


Poster: MattH
Dated: Thursday August 7 2003 - 18:09:47 BST

Will converting to menu 5 fix this problem? I don't want to do that work and find out it doesn't help...

Oh, and *bump*