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

ScrollImgHeight

Description:
The height, in pixels, of the more image that appears in menu scrollbars.

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

Applies To:
Menu Items.

Browser Compatibility:
ScrollImgHeight is supported in all browsers.

Comments:
"More" images are the (usually) triangular images that appear within a menu scrollbar denoting the existence of more menu items for this menu.

scroll image height

HierMenus provides several triangular graphics in its distribution file that are suitable for use in menus, however designers are welcome to create their own more images as appropriate. The graphics provided by HierMenus are located in the images sub-directory of the distribution file, and bear names such as HM_More_black_top.gif, HM_More_white_bot.gif, etc.

You must always specify ScrollImgHeight as a number, or a JavaScript expression that returns a number. Do not use quoted strings or non-numerical characters when defining ScrollImgHeight. ScrollImgHeight is always interpreted by HM in pixels.

It is recommended that both the ScrollImgHeight and ScrollImgWidth parameters be set to the actual, natural height and width of the images you are using. Scaling images by setting their ScrollImgHeight and/or ScrollImgWidth parameters to a value other than the natural size of the image itself is not recommended. You will have generally better performance if you create or size your images specifically to the dimension you require in a graphics program and then use those scaled images, instead.

HierMenus automatically centers scrollbar more images both vertically and horizontally.

Examples:
// Ok:
ScrollImgHeight:7,
ScrollImgHeight:10,
ScrollImgHeight:(HM_Mac)?8:6, // 8 in Mac, 6 all others

// Incorrect:
ScrollImgHeight:"7",
ScrollImgHeight:10px,
ScrollImgHeight:"(HM_Mac)?8:6", 
    // do not quote expressions here
Default:
5

See Also:
ScrollEnabled, ScrollOver, ScrollInterval, ScrollBarHeight, ScrollBarColor, ScrollImgAltTop, ScrollImgAltBot, ScrollImgSrcTop, ScrollImgSrcBot, ScrollImgWidth, ScrollBothBars, 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/scrollimgheight.html