Embedding Menu inside a Layer instead a table

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
peter2
Beginner
Beginner
Posts: 2
Joined: Mon Nov 01, 2004 3:01 pm

Embedding Menu inside a Layer instead a table

Post by peter2 »

Is it possible to embedd a menu inside a layer like described on the webpage of milonic. i am asking this because i should get a new menu to work on an existing page that was built entirely with boxed layers. now to embed a menu in a layer would simplifiy the hole prosess. ohterwise i would have to bulid the site from scratch. locially the menu should work on crossplatforms.

thanks for any advise

peter :roll:
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

If you mean inside a div, no you don't want to do that.
Can you possibly just use top and left position?

A link might help to see what you have to work with.

maz
peter2
Beginner
Beginner
Posts: 2
Joined: Mon Nov 01, 2004 3:01 pm

Table or Div embeded

Post by peter2 »

Maz wrote:If you mean inside a div, no you don't want to do that.
Can you possibly just use top and left position?

A link might help to see what you have to work with.

maz
hi maz
ok, i have but up a link that works. if you check the menu, it seem to work if one uses monzilla, and that is ok, but if you check it with safari on a mac, there is a big gap between the main menu and the submenu. interesting is too, that the newsscroller in the lower part with picts etc. works under mozilla but not under safari. somehow the menu seems not to like anything on the page.

regards kevin
Link http://www.andermatt-zone.ch/indexwebtest.htm
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Table or Div embeded

Post by kevin3442 »

Hi Peter,
peter2 wrote:
Maz wrote:If you mean inside a div, no you don't want to do that. Can you possibly just use top and left position?
...it seem to work if one uses monzilla, and that is ok, but if you check it with safari on a mac, there is a big gap between the main menu and the submenu.
I'm thinking that the gap (which appears in IE6/WinXP also) is because you have done what Maz said you should not do: you've placed all of the menu code inside of a div. (1) Remove all of the menu stuff from the div (leave the empty div for spacing if you like). (2) Place your "Main Menu" back in your menu_data.js file. (3) Set the position of your "Main Menu" using the left=0 (or screenposition="left") and top=300 like you currently do. Once outside of the div, the menu should behave properly.

Also, you are currently using a very old beta release: v5.0, Release Candidate 19. That release is many, many versions back and over a year old. There have been many updates since. So, before proceeding, it would be wise to download an update and upload the new mmenudom.js, mmenuns4.js, and milonic_src.js files to your server.

Don't know anything about your news scroller, but once the menu issues are worked out, we may be able to help with the scroller.

Cheers,

Kevin
Post Reply