Fixed minor z-index bug in jBox
authorDan
Mon, 11 Aug 2008 21:32:52 -0400
changeset 680 4cc27e7abd60
parent 679 80bf9b8fe6aa
child 681 424ea7aac0ca
Fixed minor z-index bug in jBox
includes/clientside/static/dropdown.js
--- a/includes/clientside/static/dropdown.js	Mon Aug 11 19:52:41 2008 -0400
+++ b/includes/clientside/static/dropdown.js	Mon Aug 11 21:32:52 2008 -0400
@@ -82,6 +82,7 @@
                 var ul = obj.childNodes[i].nextSibling;
                 domObjChangeOpac(0, ul);
                 ul.style.display = 'block';
+                ul.style.zIndex = getHighestZ() + 2;
                 var dim = fetch_dimensions(ul);
                 if ( !ul.id )
                   ul.id = 'jBoxmenuobj_' + Math.floor(Math.random() * 10000000);