This might be helpful: http://plugins.jquery.com/project/getscrollbarwidth
On Jun 15, 11:32 am, Lideln <lid...@gmail.com> wrote: > Hi all, > > I have an application that resizes itself upon window resize. The > problem is that if I resize down the window so it is smaller, two > scrollbars appear during resize (nothing new for now...), but the > computed body width is the width with the scrollbars. > > Then, when I stop resizing, my app resizes itself, but as you may have > guessed, there are a small empty space on right and bottom, > corresponding to the scrollbars. > > I have not found a pretty way to do it (of course I could set a timer > inside my resize function that will call itself again 10ms later, just > once, but it is dirty I think). > > If anyone has an idea... I am listening :) > > Thanks,