includes/clientside/static/messagebox.js
changeset 694 43367c66d869
parent 677 2a263b598a2b
child 699 c7d737202d59
--- a/includes/clientside/static/messagebox.js	Wed Aug 13 08:56:18 2008 -0400
+++ b/includes/clientside/static/messagebox.js	Wed Aug 13 08:57:45 2008 -0400
@@ -50,7 +50,7 @@
     document.getElementById('specialLayer_darkener').style.zIndex = '5';
   }
   var master_div = document.createElement('div');
-  master_div.style.zIndex = String(getHighestZ() + 5);
+  master_div.style.zIndex = getHighestZ() + 1;
   var mydiv = document.createElement('div');
   mydiv.style.height = '200px';
   w = getWidth();
@@ -547,7 +547,8 @@
           }
           parent.appendChild(button.input);
         }
-        if ( parms.buttons[0] )
+        // don't focus this in opera - it looks kinda ugly
+        if ( parms.buttons[0] && !window.opera )
         {
           var timeout = ( aclDisableTransitionFX ) ? 10 : 1000;
           setTimeout(function()