Sticky Sidebar

A pure JavaScript plugin for making smart and high performance sticky sidebar, works with sidebar if it’s taller or shorter than the viewport, integrated with resize sensor to re-calculate the dimensions automatically when the size of sidebar or its container is changed.

Official documentation

For more detailed information and examples, see the official website: Sticky Sidebar.

How to use?

Copy-paste the following <script> near the end of your pages under JS Implementing Plugins to enable it.

                
                  <script src="../assets/vendor/sticky-sidebar/dist/sticky-sidebar.min.js"></script>
                
              

Copy-paste the following <script> near the end of your pages under JS to enable it.

                
                  <script src="../assets/js/sticky-sidebar.js"></script>
                
              

Example

For more examples, see the official website: Sticky Sidebar.