spacer

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


home / experts / dhtml / column42
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

Logo

Hiermenus Go Forth, VI:
Version 4 - The Page-Specific Parameters (cont'd)



HM_PG_ChildOffset

Description
Sets the vertical distance for positioning a child menu over its parent menu, measured from the top of the parent item. All menu trees in the page are affected.

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

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

string: "5"

JS expression: "getChildOffset()"

JS expression: "(IE4) ? ((document.body.clientHeight>600) ? 20 : 10) : ((window.innerHeight>600) ? 20 : 10)"

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

Differences from Version 3 equivalent
The childOffset parameter in Version 3:
Comments
If you do not want your child menus to be positioned lower than the parent item, give HM_PG_ChildOffset a value of 0.

To position your child menus higher than the parent item, give HM_PG_ChildOffset a negative value (ex: HM_PG_ChildOffset = -10.)

Next, HM_PG_TopSecondsVisible.


Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

All Rights Reserved. Legal Notices.
Created: Dec 12, 2000
Revised: Dec 12, 2000

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