initial checkin from subversion
This commit is contained in:
20
uiTools.js
Normal file
20
uiTools.js
Normal file
@@ -0,0 +1,20 @@
|
||||
document.getElementById("generalControls").appendChild(createWaitIcon());
|
||||
setBusyWait();
|
||||
|
||||
function createWaitIcon(){
|
||||
var imgNode=document.createElement("img");
|
||||
imgNode.setAttribute("src","pix/icnBusyWait.png");
|
||||
imgNode.id="icnBusyWait";
|
||||
imgNode.style.display="none";
|
||||
return(imgNode);
|
||||
}
|
||||
|
||||
function setBusyWait(){
|
||||
document.body.style.cursor="wait";
|
||||
document.getElementById("icnBusyWait").style.display="block";
|
||||
}
|
||||
|
||||
function unsetBusyWait(){
|
||||
document.body.style.cursor="";
|
||||
document.getElementById("icnBusyWait").style.display="none";
|
||||
}
|
||||
Reference in New Issue
Block a user