Search found 3 matches

by t-punkt
Sun Feb 04, 2007 6:17 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Submenu positioning problem with window resize [solved]
Replies: 4
Views: 2881

Hi Ruth,

shure I will ;)

First the function that calculates the x-position of a centered Element (maybe a table or something), where the menu should be aligned at:

function calcXPos(centerElementWidth){
w=x=0;
if(typeof (window.innerWidth) == 'number') w = window.innerWidth;
else if (document ...
by t-punkt
Mon Jan 29, 2007 11:43 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Submenu positioning problem with window resize [solved]
Replies: 4
Views: 2881

Hi Ruth,

thanks for your quick answer.

As you can imagine, I wasn´t pleased with it ;)
Fortunately, I found a solution I can live with.

I wrote a function to detect the window size. So I can position the main menu and the first submenus where I want :idea:

Thanks anyway ;)
Thomas
by t-punkt
Sun Jan 28, 2007 7:41 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Submenu positioning problem with window resize [solved]
Replies: 4
Views: 2881

Submenu positioning problem with window resize [solved]

Hi,

I was searching for a flexible menu system and so I found milonic. After playing around with it for a while I have done an example, how my menu should look like. You can watch it here .

As you can see, the main menu should be positioned centered or maybe in a table cell. The first submenu ...