jquery waypoint is not working

后端 未结 1 1561
旧巷少年郎
旧巷少年郎 2021-01-06 04:32

As per my code written below I think when I scroll to the .onscrollActivate div alert should come. But it is not giving me the alert.

相关标签:
1条回答
  • 2021-01-06 04:47

    As you see waypoint is not a function error in console, you haven't loaded the waypoint library on your page.

    Include waypoint js on the page after jQuery.

    <script src="https://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.5/waypoints.min.js"></script>
    
    0 讨论(0)
提交回复
热议问题