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

ScrollBothBars

Description:
Boolean value indicating whether both menu scroll bars (top and bottom) should be displayed at all times. If false, the top scroll bar is hidden when the scrolling menu reaches its top, and the bottom scrollbar is hidden when the scrolling menu reaches its bottom.

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

Applies To:
Menus.

Browser Compatibility:
ScrollBothBars is supported in all browsers.

Comments:
By default, HierMenus will display the top scroll bar for a menu only if the menu is not already scrolled to its absolute top and the bottom scroll bar only when the menu is not at its absolute bottom. This means that, as the menu is scrolling, the scrollbar that the mouse is activating may suddenly disappear, leaving the mouse down over a valid menu item. In some browsers, this action may be interpreted as clicking the actual menu item.

ScrollBothBars can be set to true to counteract this behavior. With ScrollBothBars set to true, both menu scrollbars are displayed at all times.

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

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

See Also:
ScrollEnabled, ScrollOver, ScrollInterval, ScrollBarHeight, ScrollBarColor, ScrollImgAltTop, ScrollImgSrcTop, ScrollImgAltBot, ScrollImgSrcBot, ScrollImgWidth, ScrollImgHeight, ScrollHeightMin

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