includes/clientside/static/faders.js
changeset 509 175df10e0b56
parent 507 586fd7d3202d
child 522 fd46b1bf708e
--- a/includes/clientside/static/faders.js	Tue Mar 18 16:56:56 2008 -0400
+++ b/includes/clientside/static/faders.js	Wed Mar 26 02:56:23 2008 -0400
@@ -119,7 +119,6 @@
   var master_div = document.createElement('div');
   master_div.style.zIndex = '6';
   var mydiv = document.createElement('div');
-  mydiv.style.width = '400px';
   mydiv.style.height = '200px';
   w = getWidth();
   h = getHeight();
@@ -142,7 +141,18 @@
   mydiv.style.overflow = 'auto';
   
   var buttondiv = document.createElement('div');
-  buttondiv.style.width = '400px';
+  
+  if ( is_iPhone )
+  {
+    mydiv.style.width = '120px';
+    buttondiv.style.width = '120px';
+  }
+  else
+  {
+    mydiv.style.width = '400px';
+    buttondiv.style.width = '400px';
+  }
+  
   w = getWidth();
   h = getHeight();
   if ( aclDisableTransitionFX )