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
Corporate Gifts
Cell Phones
Disney World Tickets
KVM Switch over IP
PDA Phones & Cases
Logo Design
Logo Design
Phone Cards
Promotional Golf
Web Hosting Directory
KVM over IP
GPS
Hurricane Shutters
Televisions

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

ItemBackgroundImage

Description:
The src, i.e., server location, of a background image that should be applied to this menu item.

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

Applies To:
Menu Items.

Browser Compatibility:
ItemBackgroundImage is not supported in Netscape 6.0x or Netscape 4.x. Additionally, support can be inconsistent in Internet Explorer 4.

Comments:
The configuration parameter ImageDir has no effect on the setting for ItemBackgroundImage. Rather, HierMenus only looks exactly to the URL location you specify in ItemBackgroundImage for the location of the image graphic itself.

Include only the actual server location (URL) of the graphic in ItemBackgroundImage. You can specify additional parameters, such as repeat-x, etc. in ItemBackgroundProperties.

When using item background images, the item's background color will be covered by the image. Therefore, BGColorOver and BGColorSelected will not appear to function. They should still be set, however, for the benfit of those browsers for which HM does not support item background images or for users who specifically have image displays disabled in their browsers.

Examples:
// Ok:
ItemBackgroundImage:"ItemBack.gif",
ItemBackgroundImage:"http://myserver.com/myHMImages/ItemBack.gif",
ItemBackgroundImage:null,
ItemBackgroundImage:(window.showBack)?"ItemBack.gif":null,
    // if the user defined variable "showBack" is true,
    // then use "ItemBack.gif"

// Incorrect:
ItemBackgroundImage:ItemBack.gif,      // Strings must be quoted
ItemBackgroundImage:"null",            // null must NOT be quoted
ItemBackgroundImage:'(window.showBack)?"ItemBack.gif":null', 
    // no quoted expressions
Default:
null

See Also:
MenuBackgroundImage, MenuBackgroundProperties, ScrollBackgroundImage, ItemBackgroundProperties



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
IBM eBook: Planning a Service Oriented Architecture
IBM eBook: Choosing the Right Architecture--What It Means for You and Your Business
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Avaya Article: Using Intelligent Presence to Create Smarter Business Applications
Intel Go Parallel Article: Getting Started with TBB on Windows
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
Intel Go Parallel Article: Intel Threading Tools and OpenMP
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
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
Silverlight 2 App and Walkthrough: Leverage Silverlight 2 with SQL Server and XML
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Microsoft Article: The Progress and Promise of Deep Zoom
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
Created: 3/25/2004
Updated: 3/25/2004
URL: http://www.hiermenuscentral.com/documentation/reference/itembackgroundimage.html