停止图像爬虫鼠标悬停

stop image crawler on mouse hover

本文关键字:鼠标 悬停 像爬虫 图像      更新时间:2023-09-26

我怎么能阻止这个爬虫从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,

但它没有工作。

当我将鼠标指向其容器的右侧时,这个爬虫会向左移动,但我需要它在鼠标位于其容器上方时停止。

这是那个页面的链接:

http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm

尝试将neutral增加到像65000那样荒谬的值