如何在鼠标悬停时从 dynamicdrive.com 停止这个爬虫。我尝试了一些选项,例如:
inc: 20, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 3,
neutral: 150,
savedirection: true,
random: false,
通过更改为:
inc: 20, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'pause', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 3,
neutral: 150,
savedirection: true,
random: false,
但它没有用。
当我将鼠标指向其容器的右侧时,该爬虫向左移动,但当鼠标悬停在其容器上时,我需要它停止。
这是该页面的链接: