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

IsFixed

Description:
Boolean value indicating whether or not the menu should be set to a fixed on screen position.

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

Applies To:
Menus.

Browser Compatibility:
IsFixed is supported only in Gecko browsers (Mozilla 1.0+, Netscape 6.1+) and Safari.

Comments:
IsFixed menus behave, in concept, similar to RepositionOnScroll menus in that they remain in the users browser window when the user scrolls the Web page. With IsFixed menus, however, there is no residual movement of the menus when the page is scrolled; the menu simply remains planted at its default position as the page is scrolled.

IsFixed is only supported in a small number of browsers. If you mark an individual menu as both IsFixed and RepositionOnScroll then HierMenus will use IsFixed in those browsers that support it and RepositionOnScroll for those that do not. Note that setting ScrollPositionDelay to 0 will not emulate the IsFixed behavior in those browsers that do not support it.

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

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

See Also:
RepositionOnScroll, ScrollPositionDelay, RepositionInterval, Menu Positioning 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/isfixed.html