I am using resize event, but when scroller appear - it change window size, but event is not called.
A:
You could keep tabs on the client width - it will reduce by about 20px when the scrollbar appears.
Sohnee
2009-07-08 10:40:14
A:
You have to check if the content height is higher than the inner height of the browser. Unfortunately, there is no event listener for scrollbar being added...
peirix
2009-07-08 10:41:22