[jQuery] Re: a question to animate

2008-12-18 Thread Liam Potter
animate the width, not the position. Ante Damjanovic wrote: Hello, i wrote a accordion like plugin for a page navigation and i want an element to grow up and move to the left side. The only way i found was: jQuery(elem).animate({ width:“583px“, left: „-525px“}); with this method the

[jQuery] Re: a question to animate

2008-12-18 Thread Olivier Percebois-Garve
You can chain some css changes, to happen before, or after the animation. I think that you need to set it to right : 0, and only after that animate it. without a link to your stuff would be nice though On Thu, Dec 18, 2008 at 2:23 PM, Ante Damjanovic damjano...@medwell.atwrote: Hello, i

[jQuery] Re: a question to animate

2008-12-18 Thread Olivier Percebois-Garve
err . the without is a pasting error. sorry. On Thu, Dec 18, 2008 at 5:26 PM, Olivier Percebois-Garve perceb...@gmail.com wrote: You can chain some css changes, to happen before, or after the animation. I think that you need to set it to right : 0, and only after that animate it. without