Displaying 1 result from an estimated 1 matches for "currentscale".
2006 Apr 08
0
MSN like blind - BottomToTop
...if(/^content/.test(this.options.scaleMode))
this.dims = [this.element.scrollHeight, this.element.scrollWidth];
if(!this.dims)
this.dims = [this.options.scaleMode.originalHeight,
this.options.scaleMode.originalWidth];
},
update: function(position) {
var currentScale = (this.options.scaleFrom / 100.0) + (this.factor
* position);
this.setDimensions(this.dims[0] * currentScale, this.dims[1] *
currentScale);
},
finish: function(position) {
if (this.restoreAfterFinish) this.element.setStyle(this.originalStyle);
},
setDimensions: function(height, wid...