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

home / experts / dhtml / column38
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, 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

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: Oct 03, 2000
Revised: Oct 03, 2000

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