我目前在使Jssor Slider在chrome中工作时遇到问题。
它一直可以工作到一定的更新。
我不知道到底有什么更新。
它确实可以在IE上正常工作,并且在chrome中可以加载并具有功能,但不显示任何图像。我在控制台中找不到任何错误。
网址:http://www.taalinblokjes.nl/alle-materialen/?productId=4#c10
有谁知道是什么原因导致它不再显示图像?
最佳答案
在此将JSSOR更新到最新版本:
http://www.jssor.com/download-jssor-slider-development-kit.html
然后在选项中添加:$ HWA:false
例:
<script>
jQuery(document).ready(function ($) {
var options = {
$DragOrientation: 3,
$FillMode: 1, //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $DisplayPieces is greater than 1, or parking position is not 0)
$ArrowNavigatorOptions: { //[Optional] Options to specify and enable arrow navigator or not
$Class: $JssorArrowNavigator$, //[Requried] Class to create arrow navigator instance
$ChanceToShow: 2, //[Required] 0 Never, 1 Mouse Over, 2 Always
$AutoCenter: 0, //[Optional] Auto center arrows in parent container, 0 No, 1 Horizontal, 2 Vertical, 3 Both, default value is 0
$Steps: 1, //[Optional] Steps to go for each navigation request, default value is 1
$HWA:false
}
};
//var sliders = new Object();
$('.jssorSliderItem').each(function() {
var id = this.id;
var jssor_slider1 = new $JssorSlider$(id, options);
// sliders[id] = jssor_slider1;
});
});
</script>
关于javascript - HTML/Css Jssor Slider不适用于Chrome,但没有错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/32999485/