Menus In The Correct location

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mjsd
Beginner
Beginner
Posts: 3
Joined: Sat Nov 20, 2004 2:23 am
Location: Oshawa, Ontario, Canada
Contact:

Menus In The Correct location

Post by mjsd »

hello,

I am having trouble with two sub site on my domain http://www.mattitude.ca
http://vault.mattitude.ca/inside/
http://vault.mattitude.ca/videos/

my trouble is with the menus displaying in the wrong location on my mothers, friends, friends fathers copmputers.. unless i am on my own computer the menus are always in the wrong location how do i keep the menu in the correct location?

Thanks
Matthew
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You've got the menu in a <div>, which it doesn't like.

You're missing a number of # for hex color definitions in your style sheet (not the problem here, but still wrong).

I'd put the menu code calls as the first items after <body>, with the _data file call left where it is in the <td> (and some appropriate code changes made to that file).

See this page for detailed instructions on putting a menu in a <td>.
John
mjsd
Beginner
Beginner
Posts: 3
Joined: Sat Nov 20, 2004 2:23 am
Location: Oshawa, Ontario, Canada
Contact:

Did Not Work

Post by mjsd »

Hello,

i went over the page you gave me to read and study and it did not work.. my problem is positioning not menu information and data.. it is the fact that you still have the positioning tags inside the menu offset left or something like that. you know the tags were you tell the menu to load at a certin position on the page.

with or without the menu_data.js file on the html of the page does not work i still get the same results.. nothing the menu is still not in the correct position. i went with the menu because it was one file easy to edit that would effect all pages with a simple code change i do not want to have to edit the code on very page just to change something like a new url or add a menu item. is there another way.. check out the page i tried to build at http://vault.mattitude.ca/inside/home.html

Thanks
Matthew
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Hi -

May I suggest you read the page I pointed out again. Note that in this configuration there is NO top= and left= in the definition (yours is still there), AND position="relative"; has been added. These steps are necessary for table-bound menus.

You also have some HTML problems...

Code: Select all

<style type="text/css">
<!--

#master		{position:absolute; width: 200px; top: 10px; left: -120px; z-index:2; visibility:visible;}
#menu			{position:absolute; width: 18px; top: 50px; left: 120px; z-index:5; visibility:visible;}
#top			{position:absolute; width: 120px; top: 0px; left: 0px; z-index:5; visibility:visible;}
#screen		{position:absolute; width: 120px; top: 6px; left: 0px; z-index:5; visibility:visible;}
#screenlinks	{position:absolute; width: 120px; top: 6px; left: 0px; z-index:5; visibility:visible;}

-->
</style>
<style type="text/css">
All of that comes AFTER the </html>, which means it won't be recognized. Also, the last line is unclosed, and unnecessary.

You still have the menu in a <div>, which, as mentioned, it doesn't like.
John
Post Reply