Fixed a jBox issue on the AppleMobile platform
authorDan
Tue, 08 Apr 2008 20:30:50 -0400
changeset 523 9d239396be42
parent 522 fd46b1bf708e
child 524 26287ae2449d
Fixed a jBox issue on the AppleMobile platform
includes/clientside/css/enano-shared.css
includes/clientside/static/dropdown.js
--- a/includes/clientside/css/enano-shared.css	Tue Apr 08 20:08:35 2008 -0400
+++ b/includes/clientside/css/enano-shared.css	Tue Apr 08 20:30:50 2008 -0400
@@ -756,10 +756,11 @@
   height: 57px;
   background-image: url(../../../images/prompt-top.png);
   background-repeat: no-repeat;
+  background-position: center center;
 }
 
 div.miniprompt div.mp-bottom {
-  height: 67px;
+  height: 42px;
   background-image: url(../../../images/prompt-bottom.png);
 }
 
--- a/includes/clientside/static/dropdown.js	Tue Apr 08 20:08:35 2008 -0400
+++ b/includes/clientside/static/dropdown.js	Tue Apr 08 20:30:50 2008 -0400
@@ -92,6 +92,10 @@
                 obj.childNodes[i].onmouseover = function()  { jBoxOverHandler(this); };
                 obj.childNodes[i].onmouseout = function(e)  { jBoxOutHandler(this, e); };
                 obj.childNodes[i].nextSibling.onmouseout = function(e)  { jBoxOutHandler(this, e); };
+                if ( is_iPhone )
+                {
+                  obj.childNodes[i].onclick = function()  { jBoxOverHandler(this); return false; };
+                }
               }
             }
           }