Position fixed on scroll to certain point

后端 未结 0 1855
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 00:39

I am trying to fix a side nav when a user scrolls to a certain point. I am currently using:

        if(jQuery(\'#fix-me\').offset().top <= jQuery(window).s         


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