Sticky Sidebar ⬆⬇ is a pure JavaScript plugin for making smart and high-performance sticky sidebar, works with the sidebar if it’s taller or shorter than the viewport, is integrated with a resize sensor to re-calculate the dimensions automatically when the size of the sidebar or its container is changed, supports jQuery/Zepto and compatible with Firefox, Chrome, Safari, and IE9+. The source can be found on GitHub.

Features

  • It does not re-calculate all dimensions when scrolling, just neccessary dimensions
  • Super smooth without incurring scroll lag or jank and no page reflows
  • Integrated with resize sensor to re-calculate all dimensions of the plugin when the size of sidebar and its container is changed
  • It has event trigger on each affix type to hook your code under particular situations
  • Handle the sidebar when it is tall or too short compared to the rest of the container
  • Zero dependencies and super simple to setup

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Sticky Sidebar

Sticky Sidebar Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Sticky Sidebar!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2023-09-20