Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/206.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 在jQuery中关闭响应转盘上的触摸更改幻灯片_Javascript_Jquery_Css_Twitter Bootstrap - Fatal编程技术网

Javascript 在jQuery中关闭响应转盘上的触摸更改幻灯片

Javascript 在jQuery中关闭响应转盘上的触摸更改幻灯片,javascript,jquery,css,twitter-bootstrap,Javascript,Jquery,Css,Twitter Bootstrap,我有一个响应式旋转木马。当我在移动版的页面上时,我希望carousel自动更改幻灯片,而不是在手指移动时更改幻灯片。这是我的 您的代码更改会自动滑动?是的,它会自动更改您是否尝试使用Jquery的.width()属性如果($(document).width()

我有一个响应式旋转木马。当我在移动版的页面上时,我希望carousel自动更改幻灯片,而不是在手指移动时更改幻灯片。这是我的


您的代码更改会自动滑动?是的,它会自动更改您是否尝试使用Jquery的
.width()
属性<代码>如果($(document).width()<500){/*您的代码更改幻灯片…*/}
    $('.crsl-items').carousel({
  visible: 4,
  itemMargin: 30,
  autoRotate: 50000,
  itemMinWidth: 180
});