public/javascripts/inputex/build/inputex.js
function() {
      if(this.maskRendered) return;

      // position as "relative" to position formMask inside as "absolute"
      Dom.setStyle(this.divEl, "position", "relative");

      // set zoom = 1 to fix hasLayout issue with IE6/7
      if (YAHOO.env.ua.ie) { Dom.setStyle(this.divEl, "zoom", 1); }

      // Render mask over the divEl
      this.formMask = inputEx.cn('div', {className: 'inputEx-Form-Mask'},
         {
            display: 'none',
            // Use offsetWidth instead of Dom.getStyle(this.divEl,"width") because
            // would return "auto" with IE instead of size in px
            width: this.divEl.offsetWidth+"px",
            height: this.divEl.offsetHeight+"px"
         },
         "<div class='inputEx-Form-Mask-bg'/><center><br/><div class='inputEx-Form-Mask-spinner'></div><br /><span>"+inputEx.messages.ajaxWait+"</span></div>");
      this.divEl.appendChild(this.formMask);
      this.maskRendered = true;
   }
function() {
      if(this.maskRendered) return;

      // position as "relative" to position formMask inside as "absolute"
      Dom.setStyle(this.divEl, "position", "relative");

      // set zoom = 1 to fix hasLayout issue with IE6/7
      if (YAHOO.env.ua.ie) { Dom.setStyle(this.divEl, "zoom", 1); }

      // Render mask over the divEl
      this.formMask = inputEx.cn('div', {className: 'inputEx-Form-Mask'},
         {
            display: 'none',
            // Use offsetWidth instead of Dom.getStyle(this.divEl,"width") because
            // would return "auto" with IE instead of size in px
            width: this.divEl.offsetWidth+"px",
            height: this.divEl.offsetHeight+"px"
         },
         "<div class='inputEx-Form-Mask-bg'/><center><br/><div class='inputEx-Form-Mask-spinner'></div><br /><span>"+inputEx.messages.ajaxWait+"</span></div>");
      this.divEl.appendChild(this.formMask);
      this.maskRendered = true;
   }
function ( ) { if ( this . maskRendered ) return ; // position as "relative" to position formMask inside as "absolute" Dom . setStyle ( this . divEl , "position" , "relative" ) ; // set zoom = 1 to fix hasLayout issue with IE6/7 if ( YAHOO . env . ua . ie ) { Dom . setStyle ( this . divEl , "zoom" , 1 ) ; } // Render mask over the divEl this . formMask = inputEx . cn ( 'div' , { className : 'inputEx-Form-Mask' } , { display : 'none' , // Use offsetWidth instead of Dom.getStyle(this.divEl,"width") because // would return "auto" with IE instead of size in px width : this . divEl . offsetWidth + "px" , height : this . divEl . offsetHeight + "px" } , "<div class='inputEx-Form-Mask-bg'/><center><br/><div class='inputEx-Form-Mask-spinner'></div><br /><span>" + inputEx . messages . ajaxWait + "</span></div>" ) ; this . divEl . appendChild ( this . formMask ) ; this . maskRendered = true ; }
Create a Mask over the form
Create a Mask over the form