Appropriate Failure

In the previous episode, we made our code fail fast when calculating relative offsets if a border or margin is present. In this episode, we finish up relativeOffset() by taking care of IE 8 and cleaning up the code, then we get started on making pageOffset() fail in the same way.

comments powered by Disqus