我正在尝试使用Jquery图像库,但不知何故导航图标不会显示,甚至“加载”图标显示在点击...
使用的代码是:
.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
答案 0 :(得分: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)