我的nivoslider插件可以在所有瀏覽器和ie8/9下正常工作 - 但是在IE 7中,滑塊工作正常,但是我不能看到正方形(nivocontrol nav),它表示有多少圖像滑塊。我試過位置:絕對和Z指數的,但我似乎無法得到這個工作。在它拒絕工作之前,我將它從window.load改爲document.ready,並修復了50%的問題。NivoSlider NivoControl Nav IE7不顯示
該網站是http://www.sarahlayton.co.uk,如果你在IE8/9看它,你會看到圖像滑塊下方的方塊,然後ie7隱藏。林有點困惑,我要去哪裏錯了?
任何人都可以引導我嗎?真的很感謝
<script type="text/javascript">
$(document).ready(function() {
$('#slider').nivoSlider({
effect: 'random', // Specify sets like: 'fold,fade,sliceDown'
slices: 15, // For slice animations
boxCols: 8, // For box animations
boxRows: 4, // For box animations
animSpeed: 300, // Slide transition speed
pauseTime: 6000, // How long each slide will show
startSlide: 0, // Set starting Slide (0 index)
directionNav: false, // Next & Prev navigation
directionNavHide: false, // Only show on hover
controlNav: true, // 1,2,3... navigation
controlNavThumbs: false, // Use thumbnails for Control Nav
controlNavThumbsFromRel: false, // Use image rel for thumbs
controlNavThumbsSearch: '.jpg', // Replace this with...
controlNavThumbsReplace: '_thumb.jpg', // ...this in thumb Image src
keyboardNav: true, // Use left & right arrows
pauseOnHover: true, // Stop animation while hovering
manualAdvance: false, // Force manual transitions
captionOpacity: 0.0, // Universal caption opacity
prevText: 'Prev', // Prev directionNav text
nextText: 'Next', // Next directionNav text
beforeChange: function() { }, // Triggers before a slide transition
afterChange: function() { }, // Triggers after a slide transition
slideshowEnd: function() { }, // Triggers after all slides have been shown
lastSlide: function() { }, // Triggers when last slide is shown
afterLoad: function() { } // Triggers when slider has loaded
});
});
</script>
67行是sliderpack.js文件 - 找不到vars.controlNavEl.append – MJCoder