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 whole element is moved to the left by growing up
and it seems to jump a little bit.
I need somthing like:
jQuery(elem).animate({width:“583px“, right: „0px“});
but this dosent work. I need that the right position of the element
stay fix, that it only grow up to the left side.
Is there any way to solve this?
Example:
http://camelmed.at/projekte/adaccord/index2.php
ciao
Ante