Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
超大Jquery进度图标doens';不去_Jquery_Supersized - Fatal编程技术网

超大Jquery进度图标doens';不去

超大Jquery进度图标doens';不去,jquery,supersized,Jquery,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; backg

我在我的页面中添加了超大的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:

#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)。 救命啊!
塔克斯

您的选择器错误

必须使用
$(“.supersized”)
应用jQuery函数