Yeah, you need to set the start value too. Automatically getting the value (for the start value) in percentages is a little bit difficult.
On Tue, May 17, 2011 at 4:25 PM, hamburger <[email protected]> wrote: > I'am usinfg this code: > > var pan = $('case'); > var i = 2 > pan.set('morph', {unit: '%', duration: > 400}).morph({left: (-100 * i)}); > > it works fine in firefox. > in chrome and ie it fire first the left-assignment in pixel. (left: > -200px) > Only with the second click are the % given . (left:-200%)
