hosting/server/htdocs/index.html [207:266]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ (function initstatus() { if (isNull($('status'))) return; $('status').style.display = 'none'; function divtransitionend(e) { e.target.style.display = 'none'; e.target.className = ui.isMobile()? 'status3dm' : 'status3d'; e.target.error = false; } $('status').addEventListener('webkitTransitionEnd', divtransitionend, false); $('status').addEventListener('transitionend', divtransitionend, false); })(); /** * Show a status message. */ window.showstatus = function(s, c) { //debug('show status', s); if (isNull($('status')) || $('status').error) return s; $('status').innerHTML = '' + s + ''; $('status').className = ui.isMobile()? 'status3dm' : 'status3d'; $('status').style.display = 'block'; $('status').error = c == 'errorstatus'; if ($('status').delay) ui.cancelDelay($('status').delay); $('status').delay = ui.delay(function hidestatus() { $('status').className = ui.isMobile()? 'statusout3dm' : 'statusout3d'; $('status').error = false; }, 3000); return s; }; /** * Show an error message. */ window.errorstatus = function(s) { //debug('error', s); return showstatus(s, 'errorstatus'); }; /** * Show working status. */ window.workingstatus = function(w, c) { //debug('show working', w); if (isNull($('working'))) return w; if (!ui.isMobile()) $('working').style.top = ui.pixpos(Math.round(window.clientHeight / 2)); $('working').style.display = w? 'block' : 'none'; return w; }; /** * Show the online/offline status. */ window.onlinestatus = function() { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - hosting/server/htdocs/public/oops/index.html [160:219]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ (function initstatus() { if (isNull($('status'))) return; $('status').style.display = 'none'; function divtransitionend(e) { e.target.style.display = 'none'; e.target.className = ui.isMobile()? 'status3dm' : 'status3d'; e.target.error = false; } $('status').addEventListener('webkitTransitionEnd', divtransitionend, false); $('status').addEventListener('transitionend', divtransitionend, false); })(); /** * Show a status message. */ window.showstatus = function(s, c) { //debug('show status', s); if (isNull($('status')) || $('status').error) return s; $('status').innerHTML = '' + s + ''; $('status').className = ui.isMobile()? 'status3dm' : 'status3d'; $('status').style.display = 'block'; $('status').error = c == 'errorstatus'; if ($('status').delay) ui.cancelDelay($('status').delay); $('status').delay = ui.delay(function hidestatus() { $('status').className = ui.isMobile()? 'statusout3dm' : 'statusout3d'; $('status').error = false; }, 3000); return s; }; /** * Show an error message. */ window.errorstatus = function(s) { //debug('error', s); return showstatus(s, 'errorstatus'); }; /** * Show working status. */ window.workingstatus = function(w, c) { //debug('show working', w); if (isNull($('working'))) return w; if (!ui.isMobile()) $('working').style.top = ui.pixpos(Math.round(window.clientHeight / 2)); $('working').style.display = w? 'block' : 'none'; return w; }; /** * Show the online/offline status. */ window.onlinestatus = function() { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -