main menu not in place ( mac )

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ratm
Beginner
Beginner
Posts: 7
Joined: Thu Feb 10, 2005 1:44 pm

main menu not in place ( mac )

Post by ratm »

hi everyone... (my english su***)

i dont have any mac to test the page but a friend of mine told me that the main menu is not on the correct position.
i test the page in almost all browser on pc and works great but on mac....
if anyone can take a look on mac.
i apreciated if anyone can give same suggestion to solve the problem.


http://www.netspot.pt/teste_menu/menu/home.htm
http://www.netspot.pt/teste_menu/menu/index.htm

best regards
john from portugal
aquaverse
Advanced
Advanced
Posts: 22
Joined: Fri Feb 11, 2005 9:40 pm

Post by aquaverse »

My problem too. Please help.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Works for me on both Safari and Firefox.

However, I would get the menu JS calls back together as a unit (the way they came in the download), and put them as the first items after the body tag.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I agree with John, especially since the menus are in tables. I wonder if the browser on that Mac is IE??? :lol: It tends to mess up the position if the calls for the menu files are not correct.

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

Post by John »

I also noticed that all the menus coded in the HTML page have the same name (Main Menu). The CSS has numerous duplications as well.
John
ratm
Beginner
Beginner
Posts: 7
Joined: Thu Feb 10, 2005 1:44 pm

Post by ratm »

The CSS has numerous duplications as well.
it as to be because the submenus have diferent sizes ( caracters ).

but will take a look again on my menu and organize on the best way.

thanks again john and ruth
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

ratm wrote:
John wrote:The CSS has numerous duplications as well.
it as to be because the submenus have diferent sizes ( caracters ).
I know it's still early here, but you lost me on that one completely. :?
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hmm, it's after 1pm here and it's not getting through to me either :?

Ruth
ratm
Beginner
Beginner
Posts: 7
Joined: Thu Feb 10, 2005 1:44 pm

Post by ratm »

hi again...what i was trying to say is that every submenu have a diferent size because the first submenu have word like (milonic is great) and on the second submenu have (milonic) so the boxes as to be with diferent sizes (each submenu have a number diferent caracters).

maybe because of that i have a little problem with the submenu.

with i.e (windows)
Image

with any other browser
Image


complete link http://www.netspot.pt/dhtml/index.htm
ratm
Beginner
Beginner
Posts: 7
Joined: Thu Feb 10, 2005 1:44 pm

Post by ratm »

any ideas to resolve this one?

thanks john
ratm
Beginner
Beginner
Posts: 7
Joined: Thu Feb 10, 2005 1:44 pm

Post by ratm »

i think a got it.....
on my css i have " padding-top=1px; " and this property will not work
on any browser except i.e. (i think)

but because of that the word on any submenu is 1 px up.
and not at the same line of the square that is on the left side
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

The submenu position [except for the first level from the main horizontal menu] is controlled in the top of the menu_data.js file with the subOffsetLeft= and subOffsetTop= That allows you to move the submenu position.

Also, keep in mind that as far as I've found, different browsers seem to treat how they render and space tables differently, and you also have to consider font size or which font is being used which will also affect things like spacing.

Ruth
Post Reply