We are providing HierMenus to you at no cost. HierMenus code requires a confirmed membership with internet.com. Please register by clicking here and come back soon to download your free copy of HeirMenus code.
Click Here to Register

Site Navigation
Bulletins
About
Documentation
FAQ
Samples
Known Issues
Technology Jobs

internet.commerce

Partner With Us














          
internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 
HierMenusCentral Enhance the Functionality of Your Web Site with DHTML HierMenus.
    

home / documentation / reference / fontweight

FontWeight

Description:
The weight (degree of text "boldness") for text that appears in menu items.

Value:
String, "", or JavaScript expression that returns a string/"".

Applies To:
Menu Items.

Browser Compatibility:
FontWeight is supported in all browsers, though not all browsers may recognize all possible CSS values (especially Netscape 4.x).

Comments:
FontWeight should be applied as a string, which means the value you supply should always be in quotes. Allowed values for FontWeight are the same as those allowed in the standard CSS font-weight property (see the W3C Specs) and in fact, the value you supply is transferred as is to the JavaScript fontWeight property for each menu item.

Examples:
// Ok:
FontWeight:"bold",
FontWeight:"900",
FontWeight:"",              // use style sheet default
FontWeight:(HM_IE)?"900":"700", // 900 in IE; else 700

// Incorrect:
FontWeight:"fat",  // must be valid identifier
FontWeight:800,    // quotes required
FontWeight:'(HM_IE)?"900":"700"', // no quoted expressions here
Default:
"normal"

See Also:
FontStyle, FontFamily, FontSize, FontColor, FontColorOver, FontColorSelected, Using Classes Mini-Tutorial

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/fontweight.html