Thursday, February 16, 2012

a bit of wisdom to my future self

Future self, when having to resize elements based on some other elements' animation of size or position, you will get better results if you put a callback at the end of animate() rather than trying to read the size or position right there and then.

Cheers!

No comments:

Post a Comment