Download the X Distribution File.
xa.imgSize(e, w, h, t[, a[, b[, oe]]]);
Default.
// xAnimation.imgSize r1, Copyright 2007 Michael Foster (Cross-Browser.com)
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
xAnimation.prototype.imgSize = function(e,w,h,t,a,b,oe)
{
var i = this;
i.x1 = e.width; i.y1 = e.height; // start size
i.x2 = Math.round(w); i.y2 = Math.round(h); // target size
i.init(e,t,o,o,oe,a,b);
i.run();
function o(i) { i.e.width = Math.round(i.x); i.e.height = Math.round(i.y); } // onRun and onTarget
};
xanimation.html - Start page of all xAnimation demos.
By your use of X and/or CBE and/or any Javascript from this site you consent to the GNU LGPL - please read it. If you have any questions about the license, read the FAQ and/or come to the forums.
Forum support is available at the X Library Support Forums.
Cross-Browser.com is the home of X - a cross-browser Javascript library, and many demos, applications, articles and documentation.
If you are using X, XC or anything from this site, show off your work by posting a link in the X Showcase forum.