includes/clientside/static/enano-lib-basic.js
changeset 738 0dceea7ac8ff
parent 729 ebac7eeb89eb
child 752 8875559bae0e
equal deleted inserted replaced
737:919bcdde5f2a 738:0dceea7ac8ff
   290   
   290   
   291   // FYI: The base64 encoded image is a 70% opacity 1x1px white PNG.
   291   // FYI: The base64 encoded image is a 70% opacity 1x1px white PNG.
   292   ld.style.backgroundImage = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAA1JREFUCNdj+P///xkACcgDypG+nnEAAAAASUVORK5CYII=)';
   292   ld.style.backgroundImage = 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAA1JREFUCNdj+P///xkACcgDypG+nnEAAAAASUVORK5CYII=)';
   293   
   293   
   294   document.body.appendChild(ld);
   294   document.body.appendChild(ld);
       
   295   document.body.style.cursor = 'wait';
   295 }
   296 }
   296 
   297 
   297 function load_hide_win()
   298 function load_hide_win()
   298 {
   299 {
   299   var ld = document.getElementById('_js_load_component');
   300   var ld = document.getElementById('_js_load_component');
   300   if ( !ld )
   301   if ( !ld )
   301     return false;
   302     return false;
   302   ld.parentNode.removeChild(ld);
   303   ld.parentNode.removeChild(ld);
       
   304   document.body.style.cursor = 'default';
   303 }
   305 }
   304 
   306 
   305 // evaluate a snippet of code in the global context, used for dynamic component loading
   307 // evaluate a snippet of code in the global context, used for dynamic component loading
   306 // from: http://dean.edwards.name/weblog/2006/11/sandbox/
   308 // from: http://dean.edwards.name/weblog/2006/11/sandbox/
   307 function eval_global(_jsString)
   309 function eval_global(_jsString)