[solved] how to set the maximal width of the menus (incl sub

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pym59
Beginner
Beginner
Posts: 9
Joined: Sun Sep 11, 2005 10:12 pm

[solved] how to set the maximal width of the menus (incl sub

Post by pym59 »

I have try to use in one version the menu with the tree but i dont wan't the click on the menu to open, so i try to setup the normal menu.
But the menus are on my site in a frame left to the screen and i want if possible to define the menus so, that the frame dont get an horizontal scroll bar, is there a way to setip the menu so, that the maximum width as a well defined value

http://www.ludiques.net/genius/index.php
if you go on the menu "Classement" and submenu "Gagnants" it seems that the width is big enough to display, but why do i get a horizontal scrollbar

and if the frame is not big enough, the third menu has not the right offset relative to the second submenu

I have the impression that the offset is not correctly used in the calculation of the total width
in my example, i defined a negative SubOffsetLeft

_subOffsetTop=20;
_subOffsetLeft=-80;

P:S in ther beta release 5.731, this is solved
Last edited by pym59 on Fri Sep 16, 2005 3:58 pm, edited 1 time in total.
pym59
Beginner
Beginner
Posts: 9
Joined: Sun Sep 11, 2005 10:12 pm

Post by pym59 »

up

I have try menuwidth="100%" or menuwidth="150", that works but not what i want, The submenus should open under the mainmenu with

subOffsetTop=20;
_subOffsetLeft=-80;

and a itemwidth="100"

It seems that the total menu width = total sublevel * itemwidth and the suboffsetLeft is not used

Any ideas?
Thanks in advance
pym59
Beginner
Beginner
Posts: 9
Joined: Sun Sep 11, 2005 10:12 pm

Post by pym59 »

I also try to set the left parameter of the menu to 20 resp 40 and the menu are now corretly one under the other and wifth a 20 offset to the right. But i have always the horizontal scrollbars
Post Reply