spacer

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


home / experts / dhtml / column40
Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

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.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

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

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