screenposition="center" problems

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Pha3dr0n
Beginner
Beginner
Posts: 4
Joined: Fri Feb 13, 2004 2:00 pm

screenposition="center" problems

Post by Pha3dr0n »

Has anybody come across this before?? I have the menu set to screenposition="center", but when the page loads the menu appears left of center. If I max or restore the browser window though, the menu centers itself. Have a look here. Apologies for the poor site design, but I'm just learning.

Cheers,

Pha3dr0n

PS. A big Thumbs Up to the Milonic Team - the menu is fantastic :D
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

On a quick look, my first impression is that it could be because you are loading the menu scripts inside a DIV that is center aligned, and that is somehow screwing with the menu's internal positioning. I notice that when I load your page in IE, it appears to center briwfly, then jumps slightly to the left.

Take the <SCRIPT> tags that load the menu scripts out of the DIV. I'd recommend loading the menu scripts before the DIV, right after the <BODY> tag, or putting them at the end of the <HEAD> section. Se if that clears it up.

Hope that helps,

Kevin
Pha3dr0n
Beginner
Beginner
Posts: 4
Joined: Fri Feb 13, 2004 2:00 pm

Post by Pha3dr0n »

Thanks Kevin - that sorted it - much appreciated :D
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I absolutely love those colors and the design. Very nice. Now, the bad news..and of course I see it's a test site so you may already know this.

1. My resolution is 800x600 and unless I narrow the window about an inch the menu is almost all the way behind the iframe in IE 5. Netscape 6.1, Opera 6 and 7. It displays perfectly in Netscape 7, and Firebird .07 and also believe it or not in Netscape 4.79 [that's because it doesn't show any iframe ;) ]

2. The only browsers in which the menus drop over the iframe are Netscape 6, 7 and Firebird .07, all the rest show no submenus they are dropping behind the iframe.

Ruth
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

It drove my eyes nuts trying to figure it out, but yes that star is blinking
maz ;)
Post Reply