1
我不能爲我的生活弄清楚如何讓這個Facebook元素出現在它下面的幻燈片庫上方。我很確定這不是一個溢出問題,任一元素上的z-index似乎都沒有任何影響。facebook發送按鈕z-index?奇怪的問題
這個問題似乎在這裏:lovegrows.org/marykay
任何想法?
我不能爲我的生活弄清楚如何讓這個Facebook元素出現在它下面的幻燈片庫上方。我很確定這不是一個溢出問題,任一元素上的z-index似乎都沒有任何影響。facebook發送按鈕z-index?奇怪的問題
這個問題似乎在這裏:lovegrows.org/marykay
任何想法?
經過多一點挖掘。它看起來像你正在使用的圖庫腳本在那裏有z索引99990和99991的一些元素。
下面是我看到我認爲是罪魁禍首,但我只能想到編輯文件,看看是否能解決問題,我不知道有任何其他方式來測試這一點。
cssMap = {
overlay: 'position:fixed;display:none;opacity:'+op.overlayOpacity+';filter:alpha(opacity='+(op.overlayOpacity*100)+
');top:0;left:0;width:100%;height:100%;background:'+op.overlayBackground+';z-index:99990',
box: 'position:fixed;display:none;width:400px;height:400px;top:50%;left:50%;margin-top:-200px;margin-left:-200px;z-index:99991',
shadow: abs+'background:#000;width:100%;height:100%;',
content: abs+'background-color:#fff;top:10px;left:10px;right:10px;bottom:10px;overflow:hidden',
info: abs+'bottom:10px;left:10px;right:10px;color:#444;font:11px/13px arial,sans-serif;height:13px',
close: abs+'top:10px;right:10px;height:20px;width:20px;background:#fff;text-align:center;cursor:pointer;color:#444;font:16px/22px arial,sans-serif;z-index:99999',
image: abs+'top:10px;left:10px;right:10px;bottom:30px;overflow:hidden;display:block;',
prevholder: abs+'width:50%;top:0;bottom:40px;cursor:pointer;',
nextholder: abs+'width:50%;top:0;bottom:40px;right:-1px;cursor:pointer;',
prev: abs+'top:50%;margin-top:-20px;height:40px;width:30px;background:#fff;left:20px;display:none;text-align:center;color:#000;font:bold 16px/36px arial,sans-serif',
next: abs+'top:50%;margin-top:-20px;height:40px;width:30px;background:#fff;right:20px;left:auto;display:none;font:bold 16px/36px arial,sans-serif;text-align:center;color:#000',
title: 'float:left',
counter: 'float:right;margin-left:8px;'
},
那一個肯定是一個痛苦,我花了一段時間試圖追查它,但迄今沒有任何運氣。我認爲這與它在IFrame中的事實有關,但無法通過我的任何測試獲得CSS來修復它 –