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 } |