> but is that mean I have to write lots code to do what I want? > actually I know the trick, just want to know can it complete through > jQuery effect by only set the options.
No, I only wanted you to see that to achieve that effect you need to animate both the size *and* the position. As the width animates you also animate the 'left' property so that it appears to grow in both directions. As Ricardo showed, you can do it with one call to animate. Mike