2012-04-16 33 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