s3/GiveCatJS/givecat.loader.js
/**
 * Inject a progress div showing that we are doing stuff
 *
 * @param	int	number of images we are changing
 **/
Inject a progress div showing that we are doing stuff
@param       int     number of images we are changing
Inject a progress div showing that we are doing stuff @param int number of images we are changing
function injectProgress(numberOfImages) {
  progressDiv = document.createElement("div");
  progressDiv.style.id = "giveCatFaderProgressBox";
  progressDiv.style.width = "100%";
  progressDiv.style.borderTop = "1px solid #bce8f1";
  progressDiv.style.position = "fixed";
  progressDiv.style.bottom = "0px";
  progressDiv.style.left = "0";
  progressDiv.style.zIndex = "500";
  progressDiv.style.color = "#3a87ad";
  progressDiv.style.backgroundColor = "#d9edf7";
  progressDiv.style.paddingTop = "5px";
  progressDiv.style.paddingBottom = "5px";
  progressDiv.style.textAlign = "center";
  progressDiv.style.display = "block";
  progressDiv.textContent = "We are currently making " + numberOfImages + " images squishier!";
  document.getElementsByTagName("body")[0].appendChild(progressDiv);
}
function injectProgress ( numberOfImages ) { progressDiv = document . createElement ( "div" ) ; progressDiv . style . id = "giveCatFaderProgressBox" ; progressDiv . style . width = "100%" ; progressDiv . style . borderTop = "1px solid #bce8f1" ; progressDiv . style . position = "fixed" ; progressDiv . style . bottom = "0px" ; progressDiv . style . left = "0" ; progressDiv . style . zIndex = "500" ; progressDiv . style . color = "#3a87ad" ; progressDiv . style . backgroundColor = "#d9edf7" ; progressDiv . style . paddingTop = "5px" ; progressDiv . style . paddingBottom = "5px" ; progressDiv . style . textAlign = "center" ; progressDiv . style . display = "block" ; progressDiv . textContent = "We are currently making " + numberOfImages + " images squishier!" ; document . getElementsByTagName ( "body" ) [ 0 ] . appendChild ( progressDiv ) ; }
Inject a progress div showing that we are doing stuff
 @param       int     number of images we are changing
Inject a progress div showing that we are doing stuff @param int number of images we are changing