Connecting Tech Pros Worldwide Help | Site Map

Menu

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 23rd, 2007, 09:35 PM
Jerim79
Guest
 
Posts: n/a
Default Menu

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.op en('./namehtm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.op en('./name.htm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.op en('./name',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.op en('./name.htm',
'_self');");
mm_menu_0810195558_0.addMenuItem("name","window.op en('./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.


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.