How do I change the font style for menus to bold, but leave the sub-menus normal in the html navigation bar?
Return to Recent Questions
Q:
How do I change the font style for menus to bold, but leave the sub-menus normal in the html navigation bar? I understand
there’s a “fontStyle” variable, but is there an “itemfontStyle”?
A:
You can use Individual Item styles to set specific parameters for each
item or submenu.
var fontStyle=["normal 9pt Verdana","normal 9pt Verdana"]; //for subitems
//style for the top items:
var itemStyles = [
["itemHeight=21px","itemBackColor=#F2F3F2,#1665CB","fontStyle='bold 9pt Verdana','bold 9pt Verdana'"],
];
Return to Recent Questions
Related:
- Sep 02, 2006 - Can I show / hide the javascript floating menu .
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- Sep 30, 2006 - How can I open the link in a new window with your DHTML MENU?
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 17, 2006 - How can I open a new window of a specific dimension in the dhtml toolbar?
- Nov 22, 2006 - I cannot get the background color of the html popup menu to change
- Nov 24, 2006 - How do I make the css submenu appear over the adjoining frame?
- 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?
|