Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:03
Menus In The Correct location
Poster: mjsd
Dated: Saturday November 20 2004 - 1:30:51 GMT
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
Poster: John
Dated: Saturday November 20 2004 - 5:24:53 GMT
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>.
Did Not Work
Poster: mjsd
Dated: Saturday November 20 2004 - 13:15:46 GMT
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
Poster: John
Dated: Saturday November 20 2004 - 18:42:49 GMT
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:
<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">
<!--
#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.