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

RepositionInterval

Description:
The interval, in milliseconds, that the browser should wait before checking to see if RepositionOnScroll menus must be moved as the result of a page scroll. Only necessary for those menus that do not support the onscroll handler (primarily Netscape 4.x).

Value:
Integer, or JavaScript expression that returns an integer. Negative values are not allowed. Values of less than 50 are not recommended.

Applies To:
Globally.

Browser Compatibility:
RepositionInterval is not supported in Netscape 6.0x (which does not support RepositionOnScroll menus at all).

Comments:
You must always specify RepositionInterval as an integer, or a JavaScript expression that returns an integer. Do not use quoted strings or non-numerical characters when defining RepositionInterval.

In general, changing RepositionInterval from its default is not recommended. If you do change it, though, you should set it higher than its initial default, not lower.

Examples:
// Ok:
RepositionInterval:500, // half a second
RepositionInterval:800, // eight tenths of a second
RepositionInterval:(HM_NS4)?200:500, 
   // 200 if NS4, 500 otherwise

// Incorrect:
RepositionInterval:.5,
RepositionInterval:-300,
RepositionInterval:"200",      // quotes not allowed
RepositionInterval:"(HM_NS4)?200:500", 
   // no quoted expressions
Default:
50

See Also:
IsFixed, RepositionOnScroll, scrollpositiondelay

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