spacer

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


home / experts / dhtml / column42
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, VI:
Version 4 - The Page-Specific Parameters (cont'd)



HM_PG_ChildOverlap

Description
Sets the horizontal distance a child menu overlaps its parent menu. All menu trees in the page are affected.

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

HM_PG_ChildOverlap can be overridden by the HM_PG_ChildPerCentOver parameter.

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

string: "30"

JS expression: "getChildOverlap()"

JS expression: "(IE4) ? ((document.body.clientWidth>640) ? 30 : 10) : ((window.innerWidth>640) ? 30 : 20)"

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

Differences from Version 3 equivalent
The childOverlap parameter in Version 3:
Comments
If you do not want your child menus to overlap the parent menu, give HM_PG_ChildOverlap a value of 0.

To leave space between your child menus and their parents, give HM_PG_ChildOverlap a negative value (ex: HM_PG_ChildOverlap = -20.)

Next, HM_PG_ChildPerCentOver.


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: Dec 12, 2000
Revised: Dec 12, 2000

URL: http://www.webreference.com/dhtml/column42/5.html