In this example, the sticky element sticks to the top/bottom/left/right of the iframe, when you reach its scroll position.
Your browser does not support iframes.