2013-03-25 37 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