Cufon 文本在克隆幻灯片中带有延迟(Easy Slider 1.7)

发布于 2024-11-25 19:02:57 字数 212 浏览 0 评论 0原文

我正在使用 Easy Slider 1.7 并且打开了它的“连续”选项。它克隆第一张幻灯片,因此使用 clone() 函数不会破坏连续性。在这张新克隆的幻灯片中,cufon 文本以某种方式延迟后出现。您可以在此处准确理解我的意思。谁能告诉我如何避免这种延迟?

I am using Easy Slider 1.7 and I have turned on its "continuous" option. It clones the first slide so continuity don't break using the clone() function. Inside this newly cloned slide the cufon text appears after a delay somehow. You can see exactly what I mean here. Can anyone tell me how to avoid this delay?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

躲猫猫 2024-12-02 19:02:57

您应该能够使用“Cufon.now();”在 javascript 标签中以帮助解决延迟问题 - 请参阅这篇文章:

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

You should be able to use 'Cufon.now();' in a javascript tag to help with that delay - see this article:

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

眼波传意 2024-12-02 19:02:57

我已经尝试过,但它不能解决问题,而是我从 Cufon Googlegroup 找到了解决方案。我只需要调用下面列出的简单滑块,它对我很有用。

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

</script>

I have tried it but it does not solve the problem instead I found the solution from Cufon Googlegroup. I just need to call easy slider like listed below and it works good for me.

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

</script>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文