yup, I tried, but still not know to to do it proportionally. sigh..
On 2月4日, 上午12時43分, Eric Garside <gars...@gmail.com> wrote: > Try the jQuery UI "Scaling" effect. > > http://docs.jquery.com/UI/Effects/Scale > > On Feb 3, 11:21 am, "David .Wu" <chan1...@gmail.com> wrote: > > > Sorry for my bad explanation, I make a sample > > onlinehttp://chan.idv.tw/animate/enlarge.html > > > On 2月3日, 下午11時11分, Eric Garside <gars...@gmail.com> wrote: > > > > Hmm. Lets say you need it to grow 100px. Would: > > > > $('#anim').animate({paddingLeft: 50, width: 50}); > > > > work? It's hard to say what would help without a better idea of what > > > the element you want to grow looks like. > > > > On Feb 3, 9:34 am, "David .Wu" <chan1...@gmail.com> wrote: > > > > > animate function can change object's size by control css, such as > > > > width and height, > > > > if if we want to increase the width, the width increased to right > > > > -> > > > > how to do it like below > > > > <- ->