2013-03-04 160 views

回答

0

,我有太多的Chrome同样的问题,我想通了,唯一的一点是Chrome是不是激动约1个像素在与autoScrollingStep = 1的选项时滚动。

所以,我增加了像素的步骤,并减缓了间隔。问题是现在Chrome并不完全“流畅”。

 $(document).ready(function() { 
     // Initialization 
     $("div#makeMeScrollable").smoothDivScroll({ 
      autoScrollingMode: "onStart", 
      autoScrollingDirection: "endlessLoopRight", 
      autoScrollingStep: 3, // anything less than 3 in Chrome doesn't work 
      autoScrollingInterval:20 // default is 10ms, increase so it looks like you want. 

     }); 
    }); 

也许tkhan会带来更好的信息。