2011-12-02 169 views
0

A雖然回來我開始了一個項目,其中涉及一個頁面拼接成一半,任何一方的鏈接,當翻身時擴大了各自的一面。Flickery鼠標懸停狀態

這就是那個例子; http://camoconnell.com/ddu/

自從第一個建築物以來我發現了這是懸停狀態和.stop()函數,但是我試過這些,它沒有解決右側閃爍的問題。提前

任何建議表示歡迎,

感謝

編輯

沒有結果試過,更新上面的例子鏈接相應

$('.change').stop(true,true).hover(

    function() { 
      // do something 

    },function() { 
      // do something 

    } 
); 

回答

0
.stop([clearQueue] [, jumpToEnd])  
clearQueueA Boolean indicating whether to remove queued animation as well. 
Defaults to false. 

jumpToEndA Boolean indicating whether to complete the current animation immediately. Defaults to false. 

嘗試使用與真實的一樣既ARGS

.stop(true,true) 

http://api.jquery.com/stop/

編輯你想錯了

$('.change').hover(

    function() { 
      $(this).stop(true,true); 
      //now do something 

    },function() { 
      // do something 

    } 
); 
+0

曾經嘗試這樣做(見上面沒有結果),感謝 – Cam

+0

編輯答案 – Rafay

+0

好,其功能確定對鉻,但行爲不正常FF – Cam