rochal/jQuery-slimScroll — Issue #9: Integration with jquery.mousewheel and addition of remove/removeAll options
Author: boredbypolitics
Created: 2011-12-01 14:19:56+00:00
State: open

Hi

I have a vertical dashboard containing an embedded IE7 instance that I've been coding for. It has a static section at the top (for customer & contact details), and then a scrollable section below that for the data available. I wanted to use your slimScroll plugin to give myself a little extra screen space, by getting rid of the IE vertical scroll bar. I ran into problems as the size of the static section can change. What I found was that I had to tear down and re-create the slimScroll functionality each time the size changed, otherwise the scrolled window size would extend past either the top or bottom of the screen.

In achieving this I had to make a few changes to my copy of your plugin (which I will attach the patch for), adding a remove and removeAll option to unbind and remove the previously created elements and events, and also integrating the use of the jquery.mousewheel plugin (http://brandonaaron.net/code/mousewheel/docs).

I thought I'd provide it to you in case it proves useful.

Pete Howell