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:21
Vertical menu on Netscape 6.2 and Safari
Poster: fpw138
Dated: Saturday July 3 2004 - 22:05:37 BST
I downloaded the latest version 5.31a menu sample 2 yesterday. The vertical menu not left align on Netscape 6.2 and Safari 1.2 browser. The vertical menu left align on IE6, Netscape 4.75 and Mozilla 1.7 browsers.
What is the problem? How can I fix it? Any idea?
http://www.santacruzholiday.com/webstuf ... home3.html
Pls. help!
Thanks!!
Poster: Ruth
Dated: Sunday July 4 2004 - 1:12:57 BST
What do you mean by left align? You have the menu set to left=165; so the menu will be 165 pixels from the left side of the browser. Could you say where the left side of the menu is supposed to be in relation to the word Together? That is, is the menu supposed to be all the way to the left, is the left side of the menu supposed to be even with the beginning of that word?
Ruth
Poster: John
Dated: Sunday July 4 2004 - 2:42:11 BST
On my system the following change worked...
Code:
left=127;
Also (not part of the problem), you have...
Code:
<!--start About Us-->
...etc., which is not a JS comment. Change those to...
Code:
//start About Us
...etc.
Poster: Maz
Dated: Sunday July 4 2004 - 2:49:23 BST
I can't get to it, your paths should start with a slash leaving off the ...
You appear to have an auto margin, so you can't use left because it will change with the browser size.
screenposition="center";
that will center the menu, then offset the menu from the center.
left="offset=-260px";
To send it back 260px to the left.
maz
Poster: fpw138
Dated: Sunday July 4 2004 - 11:10:59 BST
Thanks for Ruth, John and Maz's input!
Ruth- I mean the menu left align from the left side of different browsers.
John- left 127; doesn't work. The JS comment has been changed to // in the JS. Thanks for the tips.
Maz- screenposition="center"; left="offset=-244px"; works! I did test on changing the path .. to absolute path, result the same.
I test on a simple layout. Netscape 4.75 off one pixel. I haven't test on the Mac and Safari yet. Netscape 6.2, IE6 and Mozilla 1.7 works fine.
http://www.santacruzholiday.com/webstuf ... /test.html
However, I will recode the html on this page http://www.santacruzholiday.com/webstuf ... _test.html, somehow the menu didn't fit on different browsers.
Thanks again!
Poster: John
Dated: Sunday July 4 2004 - 17:27:43 BST
fpw138 wrote:
John- left 127; doesn't work.
That's very interesting. I downloaded your home page and _data file to my server, but called everything else from your site. Worked just fine.
This was on Safari. I did have to do a couple page reloads to get the browser to recognize the change (hold down Shift and hit reload). Stumped me for a while, because nothing I tried was making any difference.
Poster: Maz
Dated: Sunday July 4 2004 - 17:28:24 BST
Its right on target in Safari, on the left edge.
You might want to preload images, but I can't remember how you do that.
maz
Poster: fpw138
Dated: Monday July 5 2004 - 23:09:30 BST
This is the changes I made on the home_menu3.js:
screenposition="center";
left="offset=-244px";
It works!
Poster: fpw138
Dated: Thursday July 8 2004 - 19:10:51 BST
Can anyone test this page on Mac IE? I am wondering the vertical menu align to the left with the page.
http://www.santacruzholiday.com/webstuf ... _test.html
Thanks.
Poster: Maz
Dated: Thursday July 8 2004 - 20:44:35 BST
Yes its correect and working, but its very sluggish, preloading images might help.
maz
Poster: fpw138
Dated: Thursday July 8 2004 - 21:00:32 BST
Thanks. I seen the preloading image script here. Can you provide the link of the script sample?
Poster: John
Dated: Thursday July 8 2004 - 22:12:40 BST
See http://www.milonic.com/forum/viewtopic.php?p=19672#19672.
Tip - Search works well for this type of thing...