spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com


home / experts / dhtml / column40
Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management
Logo

Hiermenus Go Forth, IV:
Version 4 - The Page-Specific Parameters



HM_PG_BGColor

Description
Sets the background color of all menu items in the page. All menus, in all cascades (top-level and children) are affected.

HM_PG_BGColor overrides site-wide global settings declared in the external script.

HM_PG_BGColor can be overwritten on a per-tree basis by the background_color parameter element in top-level menu arrays.

Value
Hexadecimal color values or color name.
IE-only: May also use CSS decimal RGB color value or user-defined system color value.

May be specified as:
Example Values
string: "#0038AD"

string: "green"

JS expression: "getBGColor()"

JS expression: "(IE4) ? 'threedface' : 'lightgrey'"

Default
If this parameter is omitted the relevant Global Parameter value, set in the external script is used.

Differences from Version 3 equivalent
The backCol parameter in Version 3:
Comments
If you are writing for an IE-only environment, for example, a corporate intranet, you can also use:

Next, HM_PG_BGColorOver.


Produced by Peter Belesis and

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

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

All Rights Reserved. Legal Notices.
Created: Nov 22, 2000
Revised: Nov 22, 2000

URL: http://www.webreference.com/dhtml/column40/11.html