我在我的页面中添加了 Supersized Jquery 代码,一切正常,除了不会显示的进度图标 (gif)。我已经在很多浏览器中进行了测试。请注意,我谈论的是进度图标 (progress.gif) 而不是进度条。
CSS:
#supersized-loader {
position:absolute; top:50%; left:50%; z-index:0; width:60px; height:60px; margin:-30px 0 0 -30px; text-indent:-999em; background:url(img/progress.gif) no-repeat center center;}
#supersized {
position:fixed; left:0; top:0; overflow:hidden; z-index:-999; height:100%; width:100%; }
#supersized img{
width:auto; height:auto; position:relative; outline:none; border:none; }
#supersized a {
z-index:-30; position:fixed; overflow:hidden; top:0; left:0; width:100%; height:100%; background:#111; display:block; }
#supersized a.image-loading {
background:#111 url(img/progress.gif) no-repeat center center; width:100%; height:100%; }
查询:
jQuery(function($){
$.supersized({
slides : [ {image : 'img/backgroung001.png'} ]
});
});
我想知道我是否必须在 Jquery 代码中调用它(progress.gif)。帮助!谢谢!