Centered Menu Shifting Slightly on Different Page Loads

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
laurenemilie
Beginner
Beginner
Posts: 1
Joined: Sat Mar 10, 2007 4:01 pm

Centered Menu Shifting Slightly on Different Page Loads

Post by laurenemilie »

Hi There!

I've got a strange IE issue. I'm working on testing a new, centered menu. It looks fabulous - when I open the page for the first time. The menu appears centered. When I go to other pages, or reload the same page, them menu shifts right 3 or 4 pixels... enough to see that the menu is then off center. Sometimes it goes back and forth, but the code is always the same, and the same page will appear both centered and then shifted to the right with different reloads.

http://www.kngtechnologies.com/tmglive/ ... /index.asp

From what I can tell, this does not happen in Firefox. Also I am using the latest version of the software (downloaded it yesterday) and I couldn't find anything on Search. Here is my code:

Code: Select all

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bgimage="/tmglive/images/spacer-menu.gif";
bordercolor="#015836";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#015836";
headercolor="#015836";
offcolor="white";
menualign="center"; 
align="center"; 
itemwidth=126;
itemheight=50;
oncolor="white";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=135, Strength=3)";
padding=0;
pagebgcolor="#015836";
pagecolor="white";
separatorcolor="orange";
separatorsize=0;
subimagepadding=0;
}

with(milonic=new menuname("Main Menu")){
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=92;

...
}
Many thanks in advance for your comments!!

Lauren
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Which IE and OS, because I'm not seeing the problem in IE5.5 win98se or IE6, winxp pro

Ruth
Post Reply