Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:39

Centered Menu Shifting Slightly on Different Page Loads


Poster: laurenemilie
Dated: Saturday March 10 2007 - 15:14:36 GMT

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:
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


Poster: Ruth
Dated: Tuesday March 13 2007 - 6:02:11 GMT

Hi,

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

Ruth