Please Note:
HierMenus is protected by copyright laws. Use of the HierMenus code requires a paid licensing agreement.
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
International

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

IsRollover

Description:
Boolean value indicating whether or not a menu item should respond to mouse rollovers.

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

Applies To:
Menu Items.

Browser Compatibility:
IsRollover is supported in all browsers.

Comments:
For some menu items, such as items that are meant to be labels or added solely for decorative effects, you may wish to cancel HierMenus' standard rollover behavior. You can do so by setting IsRollover to false for the item.

When IsRollover is set to false, several behaviors are automatically cancelled when the user rolls over a menu item:

  • "More" image rollover graphics are not swapped
  • Embedded image rollover graphics are not swapped
  • Background/foreground colors are not changed; neither the standard nor the selected color set will be applied
  • Over and/or selected class names (if they were supplied) are not applied

Or, in short, when the mouse rolls over the menu item no visible change is applied to that item. The item itself can still be clicked, however, launching a new page and/or spawning a child menu.

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

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

See Also:
IsPermHilite, KeepHilite, IsSelected



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

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