stickyCode is a contained sticky sidebar plugin for jQuery. It's lightweight, fast, flexible and compatible with Firefox, Chrome, Safari, and IE8+. It will degrade gracefully in older versions of IE. Here are the instructions.
stickyCode is Copyright © 2017 CodeCarrot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
I've put a lot of time and effort into making stickyCode project. If you love it, you can buy me a coffee. I promise it will be a good investment 😉.