jQuery.effects.scaledDimensions( element, percent [, direction ] )Returns: Objectversion added: 1.12
Description: Scales the dimensions of an element.
-
jQuery.effects.scaledDimensions( element, percent [, direction ] )
-
elementType: jQueryThe element to scale.
-
percentType: NumberThe percentage of the original size that the element's dimensions should be scaled to.
-
directionType: StringWhich direction to scale the element's dimensions; either
"horizontal"or"vertical". Ifdirectionis omitted, both dimensions will be scaled.
-
This method scales the dimensions of an element, returning an object containing height, width, outerHeight, and outerWidth properties. The element is not actually modified.