Scroll your HTML with jquery.scrollable

联合创作 · 2023-10-02 13:22

I want to take a bunch of HTML nodes and do following things with them

  • make those items scrollable horizotally or vertically
  • decide how many items are visible at once
  • scroll elements with mouse, arrow keys and mousewheel
  • make navigational buttons without programming
  • have programmatic actions: next, prev, nextPage, prevPage, seekTo, begin, end
  • need to know when list is scrolled with custom event listener
  •  

  • I want this all in single js file that weights only 3.9 Kb!
  •  

I crawled the web and I couldn't find a scrolling solution that does this obvious thing nice and easily - they were too complex to use.

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报