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

home / experts / dhtml / column38
Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

Logo

Hiermenus Go Forth, III:
Version 4 - The External Arrays - Menu and Item Parameters


Element 5 - item_has_child

Description
Specifies the existence of a child menu associated with the item. The child menu appears when the user mouses over the item. Depending on the values of top_more_images_visible and tree_more_images_visible, a "more" image may be included in the item.
Value
Boolean
May be specified as:
Example Values
true Boolean: true
true Boolean: false

integer Boolean: 1
integer Boolean: 0

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

 

The menu has two items with child menus (the first two.) The menu arrays looks like this:


HM_Array1 = [
[...],
["DHTML DYNOMAT","http://www.webref.com/dhtml/dynomat/",1,0,1],
["DHTML DINER","http://www.webref.com/dhtml/diner/",1,0,1],
["HIERMENUS","http://www.webref.com/dhtml/hiermenus/",1,0,0],
["ABOUT","http://www.webref.com/dhtml/about.html",1,0,0],
["LINKS","http://www.webref.com/dhtml/links.html",1,0,0],
["WEB APPS","http://www.webref.com/dhtml/webapps/",1,0,0]
]

HM_Array1_1 = [
[],
["Dialogs","http://www.webref.com/dhtml/dynomat/dialogs/",1,0,0],
["Fader","http://www.webref.com/dhtml/dynomat/fader/",1,0,0],
["HM3","http://www.webref.com/dhtml/dynomat/hiermenus3/",1,0,0]
]

HM_Array1_2 = [
[],
["NS Resize","http://www.webref.com/dhtml/diner/resize/",1,0,0],
["Tooltips","http://www.webref.com/dhtml/diner/titletog/",1,0,0],
["IE Page Coords","http://www.webref.com/dhtml/diner/realpos/",1,0,0],
["Frame Resize","http://www.webref.com/dhtml/diner/frresize/",1,0,0],
["Browser Vars","http://www.webref.com/dhtml/diner/browsvars/",1,0,0]
]

Default
false.
If omitted, it is assumed that the item has no associated child menu.

Differences from Version 3 equivalent
There is no difference from the Version 3 equivalent.


This concludes our look at the new Version 4 menu-creating arrays.

As before, on our final page, we have included an Array-Conversion tool to help you convert your existing Version 3 arrays to the new standard.

In our next installment, we will look at the new expanded Global Parameters that affect the look and behavior of all menu trees in a page.


Produced by Peter Belesis and


The Network for Technology Professionals

Search:

About Internet.com

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

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger

All Rights Reserved. Legal Notices.
Created: Oct 03, 2000
Revised: Oct 03, 2000

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