spacer

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

home / experts / dhtml / column36
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, II:
Version 4 - The External Arrays - New Menu Tree Parameters



Element 12 - position_under

Description
Causes the first child menu in a menu tree, with a permanent horizontal top-level menu, to be positioned directly under its parent item.


The menu above is a horizontal permanently positioned top-level menu. The first child menu appears directly below the item that causes it to be displayed.

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

integer Boolean: 1
integer Boolean: 0

JS expression (function call): "setPositionUnder()"
JS expression (complete statement): "(IE4)"

Default
false.
If omitted, the first child menu will overlap its parent item based on values set in the Global Parameter Variables.
The Version 4 Global Parameter Variables have not yet been discussed, but they follow the same logic as the Version 3 in-page Global Parameter Variables.

Differences from Version 3 equivalent
There is no Version 3 equivalent. All first child menus items were positioned according to values set in the Global Parameter Variables.

Comments
This parameter is useful only if HM is used to create a horizontal toolbar, with precisely positioned first child menus, as in the example above. It will only work if both top_is_permanent and top_is_horizontal are set to true.
If these prerequisites are not fulfilled, position_under is ignored.

The next parameter is useful for permanent toolbars, as well.


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: Sept 05, 2000
Revised: Sept 05, 2000

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