spacer

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


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



HM_PG_ClickStart

Description
Sets the top-level-menu display event to link "click" (if true) and "mouseover" (if false) for all menu trees in the page.

Menu displays with click:

Menu displays with mouseover:



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

HM_PG_ClickStart can be overruled on a per-tree basis by the top_is_permanent parameter element in top-level menu arrays, which causes the top-level menu to be permanently visible and its display is not instigated by any user action.

Value
Boolean.
May be specified as:
Example Values
true Boolean: true

true Boolean: false

integer Boolean: 1

integer Boolean: 0

string: "true"

string: "false"

JS expression: "getClickStart()"

JS expression: "(isMac) ? false : true)"

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

Differences from Version 3 equivalent
The clickStart parameter in Version 3:
Comments
HM_PG_ClickStart sets the user event dynamically. Do not set the link event to onClick. Links should always have an onMouseOver event. In this way, we minimize HTML page code interventions.

Next, HM_PG_ClickKill.


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

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