Vertical menu on Netscape 6.2 and Safari

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
fpw138
Advanced
Advanced
Posts: 19
Joined: Wed Jun 30, 2004 12:23 am

Vertical menu on Netscape 6.2 and Safari

Post by fpw138 »

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!!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

On my system the following change worked...

Code: Select all

left=127;
Also (not part of the problem), you have...

Code: Select all

<!--start About Us-->
...etc., which is not a JS comment. Change those to...

Code: Select all

//start About Us
...etc.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
fpw138
Advanced
Advanced
Posts: 19
Joined: Wed Jun 30, 2004 12:23 am

Post by fpw138 »

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!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
fpw138
Advanced
Advanced
Posts: 19
Joined: Wed Jun 30, 2004 12:23 am

Post by fpw138 »

This is the changes I made on the home_menu3.js:
screenposition="center";
left="offset=-244px";

It works!
fpw138
Advanced
Advanced
Posts: 19
Joined: Wed Jun 30, 2004 12:23 am

Post by fpw138 »

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.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Yes its correect and working, but its very sluggish, preloading images might help.

maz
fpw138
Advanced
Advanced
Posts: 19
Joined: Wed Jun 30, 2004 12:23 am

Post by fpw138 »

Thanks. I seen the preloading image script here. Can you provide the link of the script sample?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

See http://milonic.com/forum/viewtopic. ... 9672#19672.

Tip - Search works well for this type of thing... :D
John
fpw138
Advanced
Advanced
Posts: 19
Joined: Wed Jun 30, 2004 12:23 am

Post by fpw138 »

Thank you!
Post Reply