I recently implemented a fluid layout on my article page using Twitter Bootstrap. One of the features I added was a fixed top navigation bar that stays in place when it reaches the top of the browser window. I found a helpful tutorial on how to achieve this effect here:
Additionally, I used a similar technique to make the sidebar fixed once the navigation bar is fixed. The solution for this can be found in this thread:
Fixed sidebar navigation in fluid twitter bootstrap 2.0
While implementing these fixes, I noticed that the scrollbar in the sidebar doesn't quite match the custom scrollbars seen in websites like ReadWrite and The Next Web. I tried incorporating a custom scrollbar plugin like this one:
Unfortunately, I couldn't get it to work as intended. Another issue I encountered was that because the top nav bar has a height of 50px and is fixed, the sidebar's scrollbar extends off the bottom of the screen due to the "top:50px;" attribute.
If you'd like to see the demo I created, you can find it here:
http://jsfiddle.net/iagdotme/uvp8t/
Any suggestions on how to successfully implement a custom scrollbar effect similar to those on popular websites while resolving the scrollbar height issue would be greatly appreciated.
Thank you.