Pushpin

Pushpin is our fixed positioning plugin. As you scroll down, the component stays visible.

You can check out our live examples: the fixed Table of Contents on the right.

This is handled automatically by APEX as soon as you have a Scrollspy region, but here's the code in case you want to implement it manually elsewhere.


$(document).ready(function(){
    if ($('.table-of-contents').length > 0) {
    	$('.table-of-contents').pushpin({ top: $('.tabs-wrapper').offset().top });
    }
});

Notes

Region - Template Options