J
Jerim79
I am doing some maintenance on an existing site. Honestly, I know very
little javascript. However here is the code in question:
window.mm_menu_0810195558_0 = new Menu("root",310,25,"Verdana,
Arial, Helvetica,
sans-serif",10,"#000000","#000000","#FFCC33","#00FFFF","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
mm_menu_0810195558_0.addMenuItem("name","window.open('./namehtm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name.htm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name.htm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name.htm',
'_self');");
mm_menu_0810195558_0.fontWeight="bold";
mm_menu_0810195558_0.hideOnMouseOut=true;
mm_menu_0810195558_0.bgColor='#000000';
mm_menu_0810195558_0.menuBorder=1;
mm_menu_0810195558_0.menuLiteBgColor='';
mm_menu_0810195558_0.menuBorderBgColor='';
The issue is that in IE the menu text seems to wrap itself downward,
instead of going out to the right. For instance, lets say one menu item
is "Jimmy cracks corn and I don't care." Instead of being on one line,
it looks like this:
Jimmy
cracks
corn
and I
don't
care
I have tried adjusting some of the variables with no luck. I can make
the menu longer or wider, but the text doesn't change. And it only
occurs on this one menu. I have checked this code against other menus
on the page and it is exact, except for the 310, which on the other
menus is 144. Any help will be appreciated.
little javascript. However here is the code in question:
window.mm_menu_0810195558_0 = new Menu("root",310,25,"Verdana,
Arial, Helvetica,
sans-serif",10,"#000000","#000000","#FFCC33","#00FFFF","left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
mm_menu_0810195558_0.addMenuItem("name","window.open('./namehtm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name.htm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name.htm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.open('./name.htm',
'_self');");
mm_menu_0810195558_0.fontWeight="bold";
mm_menu_0810195558_0.hideOnMouseOut=true;
mm_menu_0810195558_0.bgColor='#000000';
mm_menu_0810195558_0.menuBorder=1;
mm_menu_0810195558_0.menuLiteBgColor='';
mm_menu_0810195558_0.menuBorderBgColor='';
The issue is that in IE the menu text seems to wrap itself downward,
instead of going out to the right. For instance, lets say one menu item
is "Jimmy cracks corn and I don't care." Instead of being on one line,
it looks like this:
Jimmy
cracks
corn
and I
don't
care
I have tried adjusting some of the variables with no luck. I can make
the menu longer or wider, but the text doesn't change. And it only
occurs on this one menu. I have checked this code against other menus
on the page and it is exact, except for the 310, which on the other
menus is 144. Any help will be appreciated.