[jQuery] Help with animate()

[jQuery] Help with animate()

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Trebuchet MS">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
</font>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/