滚动事件触发 ScrollStop
- 授权协议: Unlicense
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/ssorallen/jquery-scrollstop
软件介绍
ScrollStop 是一个 jQuery 插件,当在 Windows 系统上开始滚动和停止滚动的时候,jQuery 会触发两个事件:scrollstart 和 scrollstop。
示例代码:
$(window)
.on("scrollstart", function() { // Paint the world yellow when scrolling starts.
$(document.body).css({background: "yellow"});
})
.on("scrollstop", function() { // Paint it all green when scrolling stops.
$(document.body).css({background: "green"});
})
从Python开始学编程
Vamei / 电子工业出版社 / 2016-11-24 / CNY 49.00
改编自Vamei博客的《Python快速教程》。本书以Python为样本,不仅介绍了编程的基本概念,还着重讲解编程语言的主流范式:面向过程、面向对象、面向函数。读者不仅可以轻松学会Python,以后再学习其他编程语言时也会更加容易。一起来看看 《从Python开始学编程》 这本书的介绍吧!
