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 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- 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 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 - When running navigation bar code with IE or Firefox, the background is transparent.
- 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 09, 2006 - Is there any way to change the font size of the secondary and tertiary links in menu.js?
|