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

ScrollImgSrcTop

Description:
The src, i.e., server location, of the default graphic to be used for the more image in the top scroll bar.

Value:
String, null, or JavaScript expression that returns a String/null.

Applies To:
Menus.

Browser Compatibility:
ScrollImgSrcTop is supported in all browsers.

Comments:
"More" images are the (usually) triangular images that appear within a scroll bar denoting the existence of more menu items for this menu. ScrollImgSrcTop is the server location (URL) of the graphic that will be used for the top scroll bar of the menu.

scroll image source top

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.

Note how the configuration parameter setting ImageDir interacts with ScrollImgSrcTop. If ScrollImgSrcTop does not begin with http, then ImageDir is added to the front of ScrollImgSrcTop to arrive at the actual server location for the image.

Examples:
// Ok:
ScrollImgSrcTop:"HM_More_red_top.gif",
ScrollImgSrcTop:"http://myserver.com/myHMImages/HM_More_red_top.gif",
ScrollImgSrcTop:(window.showMore)?"HM_More_blue_top.gif":"myTop.gif",
    // if the user defined variable "showMore" is true,
    // then use "HM_More_blue_top.gif

// Incorrect:
ScrollImgSrcTop:HM_More_green_top.gif,  // Strings must be quoted
ScrollImgSrcTop:'(window.showMore)?"HM_More_blue_left.gif":"myTop.gif"', 
    // no quoted expressions
Default:
"HM_More_black_top.gif"

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