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

SlideInInterval

Description:
The interval, in milliseconds, that the browser should wait between adjustments to a sliding menu. Smaller numbers mean that the "slide" effect will happen faster (i.e., the menu itself will slide into its position faster).

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

Applies To:
Menus.

Browser Compatibility:
SlideInInterval is not supported in Netscape 4.x, Internet Explorer 4.x, or earlier Gecko browsers (Netscape 7.02 and earlier, Mozilla 1.2 and earlier).

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

In general, we recommend settings in the range of 5 (fastest) to 30 (slowest). The speed with which the menus redraw is highly dependent on the user's browser and CPU speed; if the speed is set too fast the user may not see any sliding effect at all; and too slow will be annoying.

SlideInInterval is part of the custom transition routines included in the HM_Loader.js file and discussed in detail in the Custom Transitions Mini-Tutorial. In order to apply a sliding effect to a menu display, you must include the key SlideInFrom parameter, as well as register the custom functions with the HierMenus setTrans and killTrans menu event hooks:

ScrollEnabled:1,
SlideInFrom:"left",
setTrans:HM_f_SetSlide,
killTrans:HM_f_KillSlide,
For reasons having to do with the sliding effect itself, all sliding menus must be ScrollEnabled.

SlideInInterval is applied to the menu adjustment speed when it is being diplayed. SlideOutInterval is applied to the menu adjustment speed when it is being hidden.

Examples:
// Ok:
SlideInInterval:5, 
SlideInInterval:10,  // hundredth of a second
SlideInInterval:(HM_Opera)?20:10, 
   // 20 if Opera, 10 otherwise

// Incorrect:
SlideInInterval:.5,
SlideInInterval:-20,
SlideInInterval:"20",      // quotes not allowed
SlideInInterval:"(HM_Opera)?20:10", 
   // no quoted expressions
Default:
20 in Opera, 10 in all other browsers.

See Also:
SlideOutInterval, SlideInPercent, SlideOutPercent, SlideInFrom, SlideOutTo, setTrans, killTrans, Custom Transitions Mini-Tutorial



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

Solutions
Whitepapers and eBooks
Intel PDF: Virtualization Delivers Data Center Efficiency
Intel eBook: Managing the Evolving Data Center
Microsoft Article: BitLocker Brings Encryption to Windows Server 2008
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
Avaya Article: Advancing the State of the Art in Customer Service
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Seminar: Efficiencies in Hardware/Software Virtualization
HP Webcast: Disaster Recovery Planning
Go Parallel Video: Performance and Threading Tools for Game Developers
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/slideininterval.html