spacer

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

home / experts / dhtml / column36
Developer News
ActiveState Debuts Open Source Business Suite
Salesforce Offers Visual App Builder
Codesion Steps Out From CVS's Shadow

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


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 >
Use Web Caching to Make Your Web Site Faster · Creating an Online Shopping Cart Mechanism in PHP · Log JavaScript Errors Using an AJAX-driven Web Service
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Configuring Granular Settings for a Database Level Audit · The Perils of a Web 2.0 Transition on Your Business Processes · Facebook Redesigns Site —Again — Nears 400M Mark

All Rights Reserved. Legal Notices.
Created: Sept 05, 2000
Revised: May 1, 2003

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