| 
      
   | 
    | 
  
       
          
                    I would like to make the main bar for the menu javascripts more consistent in the spacing
       
      Return to Recent Questions
 
  
Q:
I would like to make the main bar for the menu javascripts more consistent in the spacing.
  
A:
Try to set exact width for each top menu item using Individual Styles:
  
var itemStyles = [ 
    ["itemWidth=131px"],  //style0 
];
  
var menuItems = [
  
    ["home","", "", "", "", "", "0", "", "", "", "", ],    //style0 
    ["artist index","", "", "", "", "", "0", "", "", "", "", ], //style0 
    ["the gallery","", "", "", "", "", "0", "", "", "", "", ], //style0 
  
];
  
 
 
  
Return to Recent Questions
           Related: 
         
         - Sep 26, 2006 - Why is the submenu has a different colour than menu items in the javascript menu bar?
 - Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
 - Sep 30, 2006 - The frame below the javascript menubar is moved to the bottom of the page.
 - Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
 - Nov 12, 2006 - Is this menu bar code compatible under Linux?
 - Nov 29, 2006 - Why the  background images disappear for a while after hovering over html menubar?
 - Nov 30, 2006 - How to select the font and backcolors in java menubar using the hexidecimal number?
 - Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
 - Dec 06, 2006 - Is using search engine friendly code the same as using normal html menu bar for spiders?
 - Dec 11, 2006 - Is there a way to get rid of the  spacing on the main jscript menu?
 - Dec 15, 2006 - I can't see floating menubar on my test page only direct links...
           
               
   |