Lines Matching refs:dims
452 this.dims = null;
454 this.dims = [this.element.offsetHeight, this.element.offsetWidth];
456 this.dims = [this.element.scrollHeight, this.element.scrollWidth];
457 if(!this.dims)
458 this.dims = [this.options.scaleMode.originalHeight,
465 this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
475 var topd = (height - this.dims[0])/2;
476 var leftd = (width - this.dims[1])/2;
718 (effect.dims[0] - effect.element.clientHeight) + 'px' });
744 (effect.dims[0] - effect.element.clientHeight) + 'px' });
782 var dims = element.getDimensions();
791 initialMoveX = dims.width;
793 moveX = -dims.width;
797 initialMoveY = dims.height;
798 moveY = -dims.height;
801 initialMoveX = dims.width;
802 initialMoveY = dims.height;
803 moveX = -dims.width;
804 moveY = -dims.height;
807 initialMoveX = dims.width / 2;
808 initialMoveY = dims.height / 2;
809 moveX = -dims.width / 2;
810 moveY = -dims.height / 2;
826 scaleMode: { originalHeight: dims.height, originalWidth: dims.width },
856 var dims = element.getDimensions();
864 moveX = dims.width;
869 moveY = dims.height;
872 moveX = dims.width;
873 moveY = dims.height;
876 moveX = dims.width / 2;
877 moveY = dims.height / 2;