Detecting when user scrolls to bottom of div with jQuery

前端 未结 15 1851
一个人的身影
一个人的身影 2020-11-22 14:47

I have a div box (called flux) with a variable amount of content inside. This divbox has overflow set to auto.

Now, what I am trying to do, is, when the use scroll t

15条回答
  •  一生所求
    2020-11-22 15:30

    not sure if it is any help but this is how I do it.

    I have an index panel that is larger that the window and I let it scroll until the end this index is reached. Then I fix it in position. The process is reversed once you scroll toward the top of the page.

    Regards.

    
    
    
    

提交回复
热议问题