2012-04-16 55 views
0

我现在用的是试图使用jQuery图片廊但不知何故导航图标不显示出来,甚至在“正在载入”图标显示在点击...错误的CSS图像库..?

使用的代码是:

.ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image { 
    background: url(ad_prev.png); 
    width: 30px; 
    height: 30px; 
    display: none; 
    position: absolute; 
    top: 47%; 
    left: 0; 
    z-index: 101; 
    } 
    .ad-gallery .ad-image-wrapper .ad-next .ad-next-image { 
    background: url(ad_next.png); 
    width: 30px; 
    height: 30px; 
    right: 0; 
    left: auto; 
    } 
    .ad-gallery .ad-image-wrapper .ad-image .ad-image-description { 
    position: absolute; 
    bottom: 0px; 
    left: 0px; 
    padding: 7px; 
    text-align: left; 
    width: 100%; 
    z-index: 2; 
    background: url(opa75.png) #ededed; 
    color: #000; 
    } 

这是页面的链接:http://www.thekashmirscenario.com/gallery/index.php

回答

3

图像的路径是错误的。浏览器正在显示404条消息。检查路径并确保它们存在。在不相关的说明中,您可能还需要考虑升级您正在使用的jQuery版本。

GET http://www.thekashmirscenario.com/gallery/loader.gif 404 (Not Found) 
GET http://www.thekashmirscenario.com/gallery/ad_next.png 404 (Not Found) 
GET http://www.thekashmirscenario.com/gallery/ad_prev.png 404 (Not Found) 
GET http://www.thekashmirscenario.com/gallery/ad_scroll_back.png 404 (Not Found) 
GET http://www.thekashmirscenario.com/gallery/ad_scroll_forward.png 404 (Not Found) 
+0

你有链接到升级jquery ...吗?那个wud会有帮助:) – 2012-04-16 19:12:04

+0

你总是可以从http://jquery.com/上获取最新的副本来托管你的服务器,或者链接到一个托管版本,比如jquery(http://code.jquery.com/jquery -1.7.2.min.js或http://code.jquery.com/jquery-1.7.2.js)或Google(https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/ jquery.min.js或https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js) – j08691 2012-04-16 19:14:26