Affix relative to parent

There are little differences between a "normal" affix and an affix that is relative to its parent.
This is why the css sets are different in these cases.

You are free to move example.html wherever you want (don't forget to change the javascript references).

The repeating "-60" offset in the example is annoying. Maybe it could be retrieved automatically from the body padding-top, but this probably won't work if the affix is inside a scrollable that is not the body (i.e. not the main scroller).