Fx.Move relativeTo confusion

26 views
Skip to first unread message

Mike

unread,
Mar 15, 2012, 1:40:01 PM3/15/12
to mootool...@googlegroups.com
Please take a look at http://jsfiddle.net/mpearl/uZcRE/

I'm trying to have a small circle move around the border of a larger square.  It seems to cut the height of the larger square in half.  I specify lowerRight - the object moves to the right, but only half way down to the bottom.  What am I doing wrong?

Thanks!

Mike

Aaron Newton

unread,
Mar 15, 2012, 1:53:07 PM3/15/12
to mootool...@googlegroups.com

"Options are 'upperRight', 'upperLeft', 'bottomLeft', 'bottomRight', and 'center' (the default)."

http://jsfiddle.net/uZcRE/2/

"bottomRight" not "lowerRight"

Mike

unread,
Mar 15, 2012, 1:56:45 PM3/15/12
to mootool...@googlegroups.com
That did it.  Thank you!

Mike

Reply all
Reply to author
Forward
0 new messages