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

IsSelected

Description:
Boolean value indicating whether or not a menu item should be permanently selected; that is, always displayed as if it has a child menu that is currently visible.

Value:
Boolean (true or false), Integer (1=true, 0=false), or JavaScript expression that returns a boolean value.

Applies To:
Menu Items.

Browser Compatibility:
IsSelected is not supported in Netscape 4.x.

Comments:
IsSelected can be used as a shortcut way to create menu item labels; i.e., instead of specifying an exact color scheme for the menu item in question, you can instead simply set IsSelected to true. The menu item will then always appear as it would if it had a visible child menu (i.e., in its "selected" state). Rolling the mouse over IsSelected items will have no effect on the item's display.

If an item is marked both IsPermHilite and IsSelected, IsPermHilite will take precedence.

Examples:
// Ok:
IsSelected:true,
IsSelected:0,
IsSelected:(window.thisPage=="cf")?1:0, 
    // if the user defined variable "thisPage" is "cf", 
    // IsSelected is true

// Incorrect:
IsSelected:"false",  // quotes not allowed around booleans
IsSelected:"0",
IsSelected:'(window.thisPage=="cf")?1:0', // no quoted expressions
Default:
false

See Also:
IsRollover, KeepHilite, IsSelected

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