install/includes/js/formutils.js
changeset 931 9575aa88381f
parent 439 d9dd2b2134c4
child 1116 220428d80925
equal deleted inserted replaced
930:648043f3911d 931:9575aa88381f
   147   hider.style.height = $(base).Height() + 'px';
   147   hider.style.height = $(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(0, hider);
   152   domObjChangeOpac(70, hider);
   153   var body = document.getElementsByTagName('body')[0];
   153   var body = document.getElementsByTagName('body')[0];
   154   body.appendChild(hider);
   154   body.appendChild(hider);
   155   opacity('ajax_loader', 0, 70, 750);
   155   // opacity('ajax_loader', 0, 70, 750);
   156 }
   156 }
   157 
   157 
   158 function install_unset_ajax_loading()
   158 function install_unset_ajax_loading()
   159 {
   159 {
   160   if ( document.getElementById('ajax_loader') )
   160   if ( document.getElementById('ajax_loader') )
   161   {
   161   {
       
   162     var body = document.getElementsByTagName('body')[0];
       
   163     body.removeChild(document.getElementById('ajax_loader'));
       
   164     /*
   162     opacity('ajax_loader', 70, 0, 750);
   165     opacity('ajax_loader', 70, 0, 750);
   163     setTimeout(function()
   166     setTimeout(function()
   164       {
   167       {
   165         var body = document.getElementsByTagName('body')[0];
   168         var body = document.getElementsByTagName('body')[0];
   166         body.removeChild(document.getElementById('ajax_loader'));
   169         body.removeChild(document.getElementById('ajax_loader'));
   167       }, 1000);
   170       }, 1000);
       
   171     */
   168   }
   172   }
   169 }
   173 }