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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:31

Transparent menu items


Poster: richards
Dated: Wednesday July 25 2007 - 15:23:58 BST

This morning I set up my first test menu, which works predictably but for one formatting problem: The menu references are all transparent i.e. devoid of background color.

The link http://waterfordbikes.com/! demonstrates the problem.

Any ideas?

Thanks.

Transparent Menu Link


Poster: richards
Dated: Wednesday July 25 2007 - 15:25:47 BST

The link should be:

http://waterfordbikes.com/!/index.php


Poster: John
Dated: Wednesday July 25 2007 - 16:06:14 BST

See http://www.milonic.com/tablemenu.php for the proper way to set up a menu inside a td.


Poster: richards
Dated: Wednesday July 25 2007 - 16:41:36 BST

John wrote:
See http://www.milonic.com/tablemenu.php for the proper way to set up a menu inside a td.


Please let me clarify the issue. http://waterfordbikes.com/!/index.php is the reference.

The menu is properly positioned and functions properly within the table. It's just that references to submenus are transparent while references to actual pages display properly (with the color specified through the offbgcolor property.

Thanks


Poster: amanda
Dated: Wednesday July 25 2007 - 19:20:18 BST

I looked at your code and have two suggestions. The first is that you have duplicate menu entries, Platforms is there twice. Since this is javascript every typo or syntax error will mess up the menu. The second is to take out your milonic code and place it into a seperate file. I am assuming you have this menu on every subpage so if you have to make a change, you will only have one place to look.

As for your background problem, the best way to learn is to start commenting out lines of your code in menuStyle till you find what is causing the problem.

Hope this helps!

Transparent Menu Choices


Poster: richards
Dated: Wednesday July 25 2007 - 22:59:00 BST

Thanks for your advice. It turns out that the big problem was with the style sheet. The menu had taken the color spec from the style sheet for table and (for Internet Explorer) the TD keywords. The style sheet trumped the drawing script, which must create a table which it then "draws" on the screen.

Thanks again for your help.