<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 6 个月前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 6 个月前。
我正在使用 flexslider 和 rtl-this.com 提供的 rtl 支持.
在触摸屏上滑动 slider 时,它会向相反的方向移动。
可以做什么修复?
最佳答案
在最新版本中修复了:
https://github.com/layalk/FlexSlider/tree/rtl
现在它适用于 rtl:true
rtl
模式下,dx
将乘以 -1。
dx = (vertical) ? startX - localY : (slider.vars.rtl?-1:1)*(startX - localX);
这使得 target
被正确选择。
它还应用针对 msGesture
的更改为真。
关于javascript - Flexslider rtl滑动方向问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30444656/