您放置图像的 div 是 1x1 像素。因此,您当前正在显示图库的左上角像素(查看 id='featured' 的 div 上的内联 css)。:)
正如我所承诺的。打开 orbit_home.js 并替换
{"z-index" : 1}
和
{"z-index" : 2}
至
{"z-index" : 1, "display" : "none"}
和
"z-index" : 3
至
"z-index" : 3, "display":"block"
在所有出现的 .css 命令中
最后编辑:将以下行添加到 css 文件的末尾:
line 88 and 91 from the orbit_home.js :
"display":"block"
至"display":"none"
如:
function unlock() {
locked = false;
}
function lock() {
locked = true;
}
//If there is only a single slide remove nav, timer and bullets
if(slides.length == 1) {
options.directionalNav = false;
options.timer = false;
options.bullets = false;
}
//Set initial front photo z-index and fades it in
slides.eq(activeSlide)
.css({"z-index" : 3, "display":"block"})
.fadeIn(function() {
//brings in all other slides IF css declares a display: none
slides.css({"display":"block"})
});
// ==============
// ! TIMER
// ==============
变得:
功能解锁(){锁定=假; } 功能锁() { 锁定 = 真;}
//If there is only a single slide remove nav, timer and bullets
if(slides.length == 1) {
options.directionalNav = false;
options.timer = false;
options.bullets = false;
}
//Set initial front photo z-index and fades it in
slides.eq(activeSlide)
.css({"z-index" : 3, "display":"block"})
.fadeIn(function() {
//brings in all other slides IF css declares a display: none
slides.css({"display":"none"})
});
// ==============
// ! TIMER
// ==============