鼠标悬停时停止图像爬虫

时间:2013-03-25 05:01:31

标签: javascript slider web-crawler

如何在鼠标悬停时从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

1 个答案:

答案 0 :(得分:0)

尝试将neutral增加到像65000这样荒谬的东西。

相关问题