install/includes/js/formutils.js
changeset 1116 220428d80925
parent 931 9575aa88381f
equal deleted inserted replaced
1115:b3c249d06990 1116:220428d80925
    85   setTimeout(function()
    85   setTimeout(function()
    86     {
    86     {
    87       if ( input.type == 'radio' )
    87       if ( input.type == 'radio' )
    88       {
    88       {
    89         var tr = getParentTR(input).parentNode.parentNode.parentNode;
    89         var tr = getParentTR(input).parentNode.parentNode.parentNode;
    90         var span_width = $(tr).Width() - 24;
    90         var span_width = $dynano(tr).Width() - 24;
    91       }
    91       }
    92       else
    92       else
    93       {
    93       {
    94         var span_width = $(input).Width() - 24;
    94         var span_width = $dynano(input).Width() - 24;
    95       }
    95       }
    96       var span_top = $(input).Top() + $(input).Height();
    96       var span_top = $dynano(input).Top() + $dynano(input).Height();
    97       var span_left = $(input).Left();
    97       var span_left = $dynano(input).Left();
    98       hint.style.top = span_top + 'px';
    98       hint.style.top = span_top + 'px';
    99       hint.style.left = span_left + 'px';
    99       hint.style.left = span_left + 'px';
   100       hint.style.width = span_width + 'px';
   100       hint.style.width = span_width + 'px';
   101       hint.style.display = 'none';
   101       hint.style.display = 'none';
   102     }, 100);
   102     }, 100);
   139 {
   139 {
   140   var base = document.getElementById('enano-body');
   140   var base = document.getElementById('enano-body');
   141   var hider = document.createElement('div');
   141   var hider = document.createElement('div');
   142   hider.style.position = 'absolute';
   142   hider.style.position = 'absolute';
   143   hider.style.backgroundColor = '#FFFFFF';
   143   hider.style.backgroundColor = '#FFFFFF';
   144   hider.style.top = $(base).Top() + 'px';
   144   hider.style.top = $dynano(base).Top() + 'px';
   145   hider.style.left = $(base).Left() + 'px';
   145   hider.style.left = $dynano(base).Left() + 'px';
   146   hider.style.width = $(base).Width() + 'px';
   146   hider.style.width = $dynano(base).Width() + 'px';
   147   hider.style.height = $(base).Height() + 'px';
   147   hider.style.height = $dynano(base).Height() + 'px';
   148   hider.style.backgroundPosition = 'center center';
   148   hider.style.backgroundPosition = 'center center';
   149   hider.style.backgroundImage = 'url(../images/loading-big.gif)';
   149   hider.style.backgroundImage = 'url(../images/loading-big.gif)';
   150   hider.style.backgroundRepeat = 'no-repeat';
   150   hider.style.backgroundRepeat = 'no-repeat';
   151   hider.id = 'ajax_loader';
   151   hider.id = 'ajax_loader';
   152   domObjChangeOpac(70, hider);
   152   domObjChangeOpac(70, hider);