Make sure the element you're trying to move (the "div" in this case)
has either "position: relative" or "position: absolute".

Karl Rudd

On 2/27/07, David <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  I'm trying to understand how the animate function works, but I'm not
> finding the documentation very helpful. As an example I would like to move
> one div to the right 100 pixels. I thought that the following code might do
> it but I get no movement whatsoever.
>
>  $("#myDiv").animate({right: 100}, "slow");
>
>  Am I completely missing the point of the animate function? Can anybody
> please give me a nudge in the right direction?
>
>  Regards,
>
>  David
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to