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:59

Menu offset in table cell


Poster: raemacleman
Dated: Tuesday July 25 2006 - 12:07:45 BST

Hi,

I've used the menu successfully since January 06 by adding the JS to a table cell - works fine. I've just written a web based admin panel to build the menu on the fly from an SQL Server database, and the resulting menu (which should be sitting neatly in the topmost table cell) is offset to the right and down in the table cell. The JS generated by my scripts is almost identical to the original JS (there are some exceptions - for example, I've used numeric menunames, but nothing which would result in the menu offset, I think).

My menu can be viewed here...

http://www.world-challenge.co.uk/milonic/problem.html

I'm using the standard menu.js, milonic_src.js, mmenudom.js and mmenuns4.js files.

Can anyone see what might be causing the offset?

Regards
Rae MacLeman


Poster: Ruth
Dated: Tuesday July 25 2006 - 16:08:39 BST

Hi,

You're generating a top and left position, without that the menu doesn't have the offset

Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible="1";
orientation="1";
position="relative";


Ruth

Many thanks...


Poster: raemacleman
Dated: Wednesday July 26 2006 - 6:03:48 BST

... it's been a long day. I should spotted that - thanks.

Rae MacLeman