Automattic / antiscroll

OS X Lion style cross-browser native scrolling on the web that gets out of the way.
1.07k stars 162 forks source link

update scrollbar size when adding content #19

Closed pgherveou closed 11 years ago

pgherveou commented 12 years ago

this add a call to the update method inside the refresh function so that the scrollbar update its height as well I also updated the constructor to only set css width and height when this.x or this.y is true

ghost commented 12 years ago

Hi from Germany. I am very new wit JS. May be it is a very simp Question but, kann somebody tell me; how can i use this for body?

I did it with another div with 100% width and height and for body i wrote "overflow:hidden;" But may be you know a better way

Thanks for Answerst