menu position

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ludaluda
Beginner
Beginner
Posts: 1
Joined: Mon Mar 13, 2006 8:58 am

menu position

Post by ludaluda »

the menu always appear on left top, and i cant select it in any way as in design section of frontpage, the menu is not visible, i try to select a table in design then paste the code in code view where it was highlighted but still the menu appear on top left.

how am i suppose to do that?

i saw link on milonic that say you can put it to left, bottom, right etc.

but it need to be place at a specific place in the site not, excatly to the left middle for example and even if it was working, what about when you set-up right for 1044 X768, then someone is on 800X600.

its like the menu is floating over the site! i need it to be in the site, inside it! i built a colum to the left. i want the menu to be IN that colum, but ti just appear OVER it, like a pop-up banner do.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

it is always better to give a url, so that your page is visible and suggestions can be made.

In general, there are two options to position the menu:

a) absolute positioning is done by the left= and top= properties of the main menu or - by making use of the screenposition property.
b) relative positioning is done by placing the main menu without subs and without the styles definitions but with its own drawMenus as a script in a <td> cell of a table for instance.

There is - please see the Milonic start page, there the main menu, the topic "DHTML Menu" und the "Quick reference guide", where you can get information on those properties and styles.

Related to your description - as I understand - it seems, that you want the menu be oriented vertical, that is done by the menu property orientation="vertical"; and it seems, you want it in a table column.

http://milonic.com/tablemenu.php

Michael
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi
and even if it was working, what about when you set-up right for 1044 X768, then someone is on 800X600
that of course is a matter of the webdesign of your page.
If you´re on 1044x768 it is certainly recommendable to have in mind, that not everyone has a monitor of that resolution. So the design could be 800 px wide and everything could be centered or left oriented. Or if its wider than that, then of course horizontal scrolling will be unavoidable for those users.
There are certainly different options, in this case, from flexible design up to branching - depending on browsers in use, monitor resolution and javaScript enabled or disabled (<noscript></noscript>). But a discussion on this is not really menu-related and therefore I think, less important for this forum.

Michael
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi
i can´t select it in any way as in design section of frontpage

well I don´t know the capbilities of frontpage to visualize JavaScript . I´m using a different editor, which has three/four modes:

a) design
b) source
c) structure
d) preview

So normally in design mode, js code (or other scripts) are visualized by a symbol.
Clicking on it opens the JS-Editor and shows details of the code.
Preview then visualizes anything as it would be visualized by a browser.
If this is similar in Frontpage, then I don´t understand this question.

Michael
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

well I don´t know the capbilities of frontpage to visualize JavaScript . I´m using a different editor, which has three/four modes:

a) design
b) source
c) structure
d) preview

So normally in design mode, js code (or other scripts) are visualized by a symbol.
Clicking on it opens the JS-Editor and shows details of the code.
Preview then visualizes anything as it would be visualized by a browser.
If this is similar in Frontpage, then I don´t understand this question.

Michael
Michael,

FrontPage is essentially the same way. Frontpage has four sections:

1) Design (WSYWYG mode)
2) Spilt (Preview of page on top, code on the bottom)
3) Code (code only)
4) Preview (real browser preview mode)

In Design mode, JavaScripts do not function, and a symbol may show up there the JS is, depending on how you have it configured. To see the JS work, you must go into Preview Mode.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

another comment referring to
like a pop-up banner do
there is a sample

http://milonic.com/menusample24.php

"Popup - menu", which could be an option too.

Michael
Post Reply