can't calculate document.body.pageYOffset when using overflow-x: hidden in my css

后端 未结 0 1893
闹比i
闹比i 2020-12-06 12:48

i can\'t calculate the document.page.Yoffset when i use overflow-x:hidden property in my css is there any way to do that

   if (document.body.scrollTop > 5         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题