spacer

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


home / experts / dhtml / column40
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Logo

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



HM_PG_MenuWidth

Description
Sets the menu width for all menus in the page. All menus, in all cascades (top-level and children) are affected.

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

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

Value
Pixels.
May be specified as:
Example Values
integer: 130

string: "130"

JS expression: "getWidth()"

JS expression: "(IE4) ? ((document.body.clientWidth<800) ? 150 : 200) : ((window.innerWidth<800) ? 150 : 200)"

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

Differences from Version 3 equivalent
The menuWidth parameter in Version 3:

Next, HM_PG_FontFamily.


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 >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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

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