horizontal scroll, detecting scroll position relative to anchors

后端 未结 6 945
予麋鹿
予麋鹿 2021-01-12 19:50

Ok, I\'m building a horizontal scroll website for a photographer. We have some really nice wireframes done and I\'m looking to create a neat effect where it highlights the

6条回答
  •  無奈伤痛
    2021-01-12 19:59

    Try using jQuery's scroll event support.

    http://api.jquery.com/scroll/

    And have that check to see what image is on the screen - something similar to this:

    Check if element is visible after scrolling

提交回复
热议问题