开发者

Jquery Carousel Issues

开发者 https://www.devze.com 2022-12-25 08:08 出处:网络
I am using Jquery\'s Just Another Carousel plugin and I\'m having issues with something which I am not sure and becaus开发者_StackOverflow社区e of this it\'s not working. I\'m using this plugin becaus

I am using Jquery's Just Another Carousel plugin and I'm having issues with something which I am not sure and becaus开发者_StackOverflow社区e of this it's not working. I'm using this plugin because I need fixed height rather than fixed width.

any help?


This is a cache timing issue, DOM ready doesn't mean all the images are loaded..and when they're not you see the problem in that page (some of the last images to load get left out).

Instead of this:

$(init); // on DOM load

You should use this, which fires after images are ready:

$(window).load(init);
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号