Cufon文本带有克隆幻灯片内的延迟(轻松滑块1.7)



我使用的是Easy Slider 1.7,并且我已经打开了它的"continuous"选项。它克隆第一张幻灯片,所以连续性不会使用clone()函数中断。在这张新克隆的幻灯片中,cufon文本以某种方式延迟出现。你可以明白我的意思。谁能告诉我如何避免这种延误?

您应该能够在javascript标记中使用' cuon .now();'来帮助解决延迟问题—参见本文:

http://www.chris-wallace.com/2009/07/25/fix-flash-of-unstyled-content-with-cufon/

我已经尝试过了,但它并没有解决问题,而是我从Cufon Googlegroup找到了解决方案。我只需要调用简单滑块如下所列,它对我很好。

<script type="text/javascript">
Cufon.CSS.ready(function(){ 
$("#slider").easySlider({
auto: true,
continuous: true,
imageControl: true,
numericId:'controls'
});
</script>

最新更新