spacer

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

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



Element 16 - evaluate_upon_tree_hide

[Editor's note: this page was updated on May 1, 2003 to add support for later browsers.]

Description
Executes a JavaScript statement when the menu tree is hidden.





The menu above has a SELECT form element immediately below it. When the child menu appears, the form element is hidden. When the child element is hidden, the form element reappears.

Value
string JS expression to be evaluated

Example Values
JS expression (function call): "showSelect(true)"
JS expression (complete statement): "someImage.src = 'imageoff.gif'"

Default
none.
If omitted, no special action is taken when the menu tree is hidden.

Differences from Version 3 equivalent
There is no Version 3 equivalent. Authors were expected to insert their own code in case they needed additional statements executed when the menu tree was hidden.

Comments
This parameter should be used in conjunction with evaluate_upon_tree_show, discussed on the previous page, where we have also provided a couple of examples.

That completes our in-depth description of the Tree-Specific Overhead Parameters.

In our next column, we'll wrap up our discussion of the Version 4 menu-creating arrays, with a look at the new Item-Specific Parameters.

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.


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

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