spacer

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


home / experts / dhtml / column56
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Logo

Hiermenus Go Forth, XX:
Version 4.0.13 - The Complete Script (Full-Window)



Correcting the menu Z-Index

Version 4 continued the z-index logic used in Version 3. That is, menu trees were positioned above other page elements, but they shared common z-indices. Only one menu tree could be visible at any one time, so the common z-index was not a problem.

In Version 4, we introduced permanently-visible top-level menus. This means that an adjoining popup menu might be displayed under the permanent menu. See the illustration below:

Not all popup menus are displayed in this way. Many factors affect the z-index, including order-of-creation and the value of HM_GL/PG_CreateTopOnly. Therefore, you may have had popup menus displaying in the same space as a permanent one and never encountered this problem.

Judging from the mail, however, many of you have.

We have therefore adjusted the statements affecting the menu z-indices. Now, whenever a menu is displayed, its z-index is adjusted to be higher than any other menu. This guarantees that the menu display will not be wonky, as illustrated below:

On the next page, our courtesy syntax check.


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 >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

All Rights Reserved. Legal Notices.
Created: July 12, 2001
Revised: July 12, 2001

URL: http://www.webreference.com/dhtml/column56/4.html