Hi!
Why does this work:
<something>.stop().animate(
{ 'top' : 10 }, 10
);
but this doesn't:
var thetop = 'top';
<something>.stop().animate(
{ thetop : 10 }, 10
);
To make it even clearer: At the moment I'm not able to pass a css-property to the animate function as variable.
Thank you!