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 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.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: May 1, 2003

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