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: Wednesday July 18 2012 - 06:07:35
independant horizontal and vertical positioning
Poster: blimey
Dated: Monday June 10 2002 - 15:21:11 BST
It doesn't seem possible to change the "Screen Position" of a sub menu in only one axis at a time.
Setting "Screen Position" to "left", seems to be equivalent to "top;left". I would not have expected that setting it to be "left" to change the vertical positioning as well! The same is also true of choosing "right", this positions at the top right.
Similarly, setting "Screen Position" to "top" also puts the item in the top LEFT. Likewise "bottom" places the item at the bottom left.
Choosing "center" places the item at the top center.
What's more, having chosen a value for the "Screen Position", the values for the "Menu Top" and "Menu Left" are ignored.
Poster: Andy
Dated: Tuesday June 11 2002 - 15:29:53 BST
If you set a horizontal screen position and then leave the Top parameter blank the meu assumes you mean 0 and will set the menu at top position 0.
You will need to tell the menu exactly where you want it to appear. This is the same for vertical positioning.
-- Andy
Poster: blimey
Dated: Tuesday June 11 2002 - 17:00:16 BST
You have essentially rephrased my original bug report, and come to the same conclusion I did.
I would like for only one axis of the positioning to be changed. I don't see how this is currently possible, without me having to calculate (for each sub menu) where it would have been placed in the other axis (were it not for this side effect).
This side effect is not desirable. If I really wanted to align menus to the top/left that's easy for me to do, but this side effect just doesn't seem the appropriate means for achieving this effect.
Now that the subject is open, what about center web pages
Poster: wpatters1229
Dated: Tuesday June 11 2002 - 20:03:12 BST
If I choose to have my pages center in the browser the menus don't line up because the positioning is relative to the browser window. Is there a way to "trap" them and keep them at the same place?
I expect the answer is put them in a table. That doesn't always seem to work.
Any other ways?
Poster: Andy
Dated: Tuesday June 11 2002 - 20:32:14 BST
Try using an offet for the left position like this
"offset=-200" //Left
Put whatever value you need in there to line things up
-- Andy
That moves the menu items but not the seperator bars
Poster: wpatters1229
Dated: Tuesday June 11 2002 - 20:46:57 BST
Thanks...that moved the menu items (text) but the separator bars which are declared in where the url goes (separatorcolor=gray) don't move.
Poster: Andy
Dated: Tuesday June 11 2002 - 20:50:48 BST
Is the menu sitting inside a DIV or a TABLE by any chance.
This will cause quite a few problems if it is espesially with the separator bars.
if not, let me have a demo and I'll take a look
-- Andy
The demo files are coming yourway
Poster: wpatters1229
Dated: Tuesday June 11 2002 - 21:17:43 BST
I sent them directly
from webmaster