includes/clientside/static/faders.js
changeset 509 175df10e0b56
parent 507 586fd7d3202d
child 522 fd46b1bf708e
equal deleted inserted replaced
508:459a447d7e79 509:175df10e0b56
   117     document.getElementById('specialLayer_darkener').style.zIndex = '5';
   117     document.getElementById('specialLayer_darkener').style.zIndex = '5';
   118   }
   118   }
   119   var master_div = document.createElement('div');
   119   var master_div = document.createElement('div');
   120   master_div.style.zIndex = '6';
   120   master_div.style.zIndex = '6';
   121   var mydiv = document.createElement('div');
   121   var mydiv = document.createElement('div');
   122   mydiv.style.width = '400px';
       
   123   mydiv.style.height = '200px';
   122   mydiv.style.height = '200px';
   124   w = getWidth();
   123   w = getWidth();
   125   h = getHeight();
   124   h = getHeight();
   126   if ( aclDisableTransitionFX )
   125   if ( aclDisableTransitionFX )
   127   {
   126   {
   140   mydiv.style.marginBottom = '1px';
   139   mydiv.style.marginBottom = '1px';
   141   mydiv.id = 'messageBox';
   140   mydiv.id = 'messageBox';
   142   mydiv.style.overflow = 'auto';
   141   mydiv.style.overflow = 'auto';
   143   
   142   
   144   var buttondiv = document.createElement('div');
   143   var buttondiv = document.createElement('div');
   145   buttondiv.style.width = '400px';
   144   
       
   145   if ( is_iPhone )
       
   146   {
       
   147     mydiv.style.width = '120px';
       
   148     buttondiv.style.width = '120px';
       
   149   }
       
   150   else
       
   151   {
       
   152     mydiv.style.width = '400px';
       
   153     buttondiv.style.width = '400px';
       
   154   }
       
   155   
   146   w = getWidth();
   156   w = getWidth();
   147   h = getHeight();
   157   h = getHeight();
   148   if ( aclDisableTransitionFX )
   158   if ( aclDisableTransitionFX )
   149   {
   159   {
   150     //buttondiv.style.left = ((w / 2) - 200)+'px';
   160     //buttondiv.style.left = ((w / 2) - 200)+'px';