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

Problems with positioning the menu

Poster: ny152
Dated: Sunday October 12 2003 - 19:49:43 BST

With version 3.5 I used to position my menu like this:

var pos = (document.body.clientWidth - 833) / 2;
var hei = 90;

and then use the variables in the menu item string



However, I tried to use my "pos" and "hei" variables in version 5.0 but it does not work. The browser does not even let me declare the variables in the top of the the menu_data.js file.

Can anyone help me here?

Poster: Maz
Dated: Monday October 13 2003 - 6:36:16 BST

Probably something to do with classes, otherwise that would be top and left and screenposition or imagemap coordinates.


Poster: fredlongworthhighschool
Dated: Monday October 13 2003 - 8:35:33 BST

Can you post a URL so we can see your page? It will help us to visualise how you are presenting your menu.

Poster: Hergio
Dated: Tuesday October 14 2003 - 3:39:59 BST

Post a URL or your entire menu_data file...the one WITH the variables declared at the top and where you are using them below in your menu definitions.

Poster: kevin3442
Dated: Saturday October 25 2003 - 1:19:27 BST

Just a quick comment... it works for me. top=hei and left=pos. Perhaps, since pos is fairly common (ans assuming these are globals), you might try different var names, like mm_hei and mm_pos.