我的 WordPress 中的 SlidesJS 插件有问题 theme .
图库正在工作,但是当页面在 Chrome 中加载时,它无法正确显示第一张幻灯片,但下一张幻灯片可以。它可以在 FF、Opera 甚至 IE 8 中正常运行。有时可以正确加载,但大多数时候不能。
如果有人知道解决方案,请帮助我。谢谢。
jQuery 代码:
jQuery(document).ready(function() {
jQuery("#gallery-68").slides({
pagination: true,
preload: true,
preloadImage: "http://themes.pixlito.com/Simplio/wp-content/themes/Simplio/images/ajax-loader.gif",
generatePagination: true,
crossfade: true,
effect: "fade",
bigTarget: true,
hoverPause: true,
autoHeight: true,
play: 10000
});
});
最佳答案
已修复。问题是我没有在“img”标签中指定宽度和高度。
关于javascript - SLIDESJS Chrome 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8770000/