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 / menuopacity

MenuOpacity

Description:
The opacity level to apply to the menu.

Value:
null, or a number ranging from 0 (completely transparent) to 1 (completely opaque).

Applies To:
Menus.

Browser Compatibility:
MenuOpacity is supported in Internet Explorer 5.5+, Netscape 6.1+, Mozilla 1.0+, and Safari 1.1+.

Comments:
You must always specify MenuOpacity as a number between 0 and 1 (inclusive), or a JavaScript expression that returns a number in that range. Do not use quoted strings or non-numerical characters when defining MenuOpacity. MenuOpacity is always interpreted by HM as a percentage; i.e., .8 = 80% opaque.

Special care must be taken when assigning opacity via this parameter (MenuOpacity) and via an Internet Explorer filter. See the reference entry for IEFilters for details.

Setting both MenuOpacity and ItemOpacity on the same menu is not recommended. Some browsers (especially Internet Explorer 5.5) can have trouble rectifying the combined opacity effect, resulting in some menu elements not being displayed properly (if at all).

null is the only non-numeric value allowed for MenuOpacity. When set to null, the MenuOpacity setting is ignored by HierMenus.

Examples:
// Ok:
MenuOpacity:.2,   // 20% opaque
MenuOpacity:.85,  // 85% opaque
MenuOpacity:null, // ignore opacity setting
MenuOpacity:(window.HM_IE55)?null:.7,
   // ignore setting in IE5.5+; 70% otherwise

// Incorrect:
MenuOpacity:".4",
MenuOpacity:10%,
MenuOpacity:.5%,
MenuOpacity:"(window.HM_IE55)?null:.7",
   // do not quote expressions here
Default:
null

See Also:
ItemOpacity, IEFilters

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/menuopacity.html