Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/439.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 猫头鹰转盘不自动播放_Javascript_Html - Fatal编程技术网

Javascript 猫头鹰转盘不自动播放

Javascript 猫头鹰转盘不自动播放,javascript,html,Javascript,Html,我在我的网站上使用猫头鹰旋转木马 而且它不会自动播放这是网站的链接 这是html代码 $(文档).ready(函数(){ $(“#猫头鹰演示”).owlCarousel({ 自动播放:5000, 导航:false,//显示下一个和上一个按钮 幻灯片速度:300, 分页速度:400, singleItem:true }); $(“#owl-demo2”).owlCarousel({ 自动播放:5000, 导航:false,//显示下一个和上一个按钮 幻灯片速度:300, 分页速度:400,

我在我的网站上使用猫头鹰旋转木马

而且它不会自动播放这是网站的链接

这是html代码


$(文档).ready(函数(){
$(“#猫头鹰演示”).owlCarousel({
自动播放:5000,
导航:false,//显示下一个和上一个按钮
幻灯片速度:300,
分页速度:400,
singleItem:true
});
$(“#owl-demo2”).owlCarousel({
自动播放:5000,
导航:false,//显示下一个和上一个按钮
幻灯片速度:300,
分页速度:400,
singleItem:true
});
$(“#owl-demo3”).owlCarousel({
自动播放:5000,
导航:false,//显示下一个和上一个按钮
幻灯片速度:300,
分页速度:400,
singleItem:true
});
});

قرية بوذيب
قرية بوذيب
قرية بوذيب

在本例中,您有
自动播放:5000
,但在您的网站中没有

在您的网站中更新此代码以修复此问题:

$("#owl-demo").owlCarousel({
    autoplay : 5000,
    navigation : false, // Show next and prev buttons
    slideSpeed : 300,
    paginationSpeed : 400,
    singleItem:true

});
$("#owl-demo2").owlCarousel({
    autoplay : 5000,
    navigation : false, // Show next and prev buttons
    slideSpeed : 300,
    paginationSpeed : 400,
    singleItem:true

});
$("#owl-demo3").owlCarousel({
    autoplay : 5000,
    navigation : false, // Show next and prev buttons
    slideSpeed : 300,
    paginationSpeed : 400,
    singleItem:true

});