spacer

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


home / experts / dhtml / column56
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, 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.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: July 12, 2001
Revised: July 12, 2001

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