[jQuery] Resize image to custom dimensions
*ponder*
I have a dynamically injected <img src="..." width="[W]" height="[H]"
/> tag I would like to slowly grow from 0 to W pixels wide, keeping
the height intact (the opacity transision is nice too, though not
strictly necessary). The difficult bit is that my dimensions above are
smaller than those of the actual image; it's a scaled-down version,
and it seems that
$(...).show( duration )
somehow finds the actual image dimensions, which are frequently way
larger than those I want to end up at. There probably is some way of
overriding this or extending some present fx plugin to do what I want,
but just how eludes me.
--
/ Johan Sundström, http://ecmanaut.blogspot.com/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/