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

VariableWidthMinimum

Description:
The minimum width, in pixels, of variable width menus.

Value:
Integer, or JavaScript expression that returns an integer. Negative integers are not allowed.

Applies To:
Menu Items.

Browser Compatibility:
VariableWidthMinimum is supported in all browsers.

Comments:
You must always specify VariableWidthMinimum as an integer, or a JavaScript expression that returns an integer. Do not use quoted strings or non-numerical characters when defining VariableWidthMinimum. VariableWidthMinimum is always interpreted by HM in pixels.

VariableWidthMinimum applies only to variable width menus and sets the smallest possible width for a menu item. When a menu is variable width (IsVariableWidth is set to true), MenuWidth becomes the maximum width of the menu item. Variable width menu items will not exceed the width specified in MenuWidth even if VariableWidthMinimum is larger than MenuWidth.

Examples:
// Ok:
VariableWidthMinimum:100,
VariableWidthMinimum:600,
VariableWidthMinimum:(HM_IE)?300:400,  
     // 300 in IE, 400 all others

// Incorrect:
VariableWidthMinimum:"100",
VariableWidthMinimum:150px,
VariableWidthMinimum:"(HM_IE)?300:400", 
     // Do not quote expressions here
Default:
0

See Also:
IsVariableWidth, MenuWidth

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