开发者

jquery animation on firefox

开发者 https://www.devze.com 2023-02-12 06:54 出处:网络
I\'m trying to do a simple animation on div items, everything works fine on Google Chrome, Safari and Firefox 4, but on Firefox 3 everything goes in unexpected way (div positions messes around and etc

I'm trying to do a simple animation on div items, everything works fine on Google Chrome, Safari and Firefox 4, but on Firefox 3 everything goes in unexpected way (div positions messes around and etc ). Maybe you know how to 开发者_Python百科solve this issue and make it smooth?

Here is an example: http://jsfiddle.net/Q5FLQ/208/


Firefox does not like display:inline-block; Instead use

display:inline;
float:left;

Check it out at http://jsfiddle.net/Q5FLQ/250/


Look at this plugin, I think can help you

http://desandro.com/demo/masonry/docs/animating-jquery.html

0

精彩评论

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

关注公众号