对于我的jQuery Web应用程序,我搜索一个很好的动画加载GIF。 我搜索了几个小时...... 我发现: preloaders.net,LoadInfo.net,ajaxload.info,LoadingAPNG.com,Chimply.com等。
但是透明的时候,他们都有这种非常丑陋的白色边框。 如果你不知道我的意思,请看: http://www.graphicmania.net/creating-gif-images-without-white-borders-problem-in-photoshop-2/
我也发现了这个stackoverflow问题 动画加载GIF
但是这个人有一种背景颜色。
菜单栏是我的背景(jquery ui对话框标题栏),不是一种颜色,因此它必须是透明的。
非常感谢你的帮助
For my jQuery web app I search for a nice animated loading gif. I have searched for hours ... I found: preloaders.net, LoadInfo.net, ajaxload.info, LoadingAPNG.com, Chimply.com and more.
But they ALL have this very ugly white border when transparent. If you don't know what I mean, please see: http://www.graphicmania.net/creating-gif-images-without-white-borders-problem-in-photoshop-2/
I also found this stackoverflow question Animated Loading GIF
But this guy has ONE background color.
The menu bar, which is my background (jquery ui dialog header bar), is NOT one color, so it has to be transparent.
Thanks alot for your help
最满意答案
尝试使用spin.js. 它不会给出白色背景效果。 而且,它加载比gif文件更快,并且易于配置。
http://fgnass.github.com/spin.js/
Try using spin.js. it will not give that white background effect. moreover, it loads faster than gif file and easily configurable.
http://fgnass.github.com/spin.js/
更多推荐
发布评论