2013-03-25 83 views
0

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

回答

0

尝试增加neutral到荒谬的东西像65000

+0

哈哈....谢谢@joe。这工作。 (Y) – 2013-03-25 05:09:34