booksmith
2015-03-29 13:08:59 +08:00
这是我已前遇到的
一开始我以为是这样的原因
> i think i find the anwser
> at win7 chrome33,
> $('body').scrollTop() will return correct value, and $('html').scrollTop() will return error value
> but at fedora20 chrome33 , $('body').scrollTop() will return 0 , and $('html').scrollTop() will return > > > correct value
>
> ps:
> at win7 chromium 35, chrome 35.0.1853.2 canary
> $('body').scrollTop() will return 0 , and $('html').scrollTop() will return correct value
后来再仔细找时,才发现是这个原因。
> It's my problem. my chrome use the features : Enable experimental Web Platform features at chrome://flags/ . And then your plugin doesnt work. when i disable it , everything is becoming ok.
> the chromium and canary default is enable this features , so they doesnt work too.
你自己看看是不是这个问题。