根据Tinyscroll's website,移动滚动应该有效。在您看到的选项下:
invertscroll: false
- 启用移动反转样式滚动。
有没有人真的让这个工作?非常感谢帮助。感谢。
我的代码是标准HTML设置,我的选项配置为:
$.tiny.scrollbar = {
options: {
axis : 'y' // vertical or horizontal scrollbar? ( x || y ).
, wheel : 40 // how many pixels must the mouswheel scroll at a time.
, scroll : true // enable or disable the mousewheel.
, lockscroll : true // return scrollwheel to browser if there is no more content.
, size : 'auto' // set the size of the scrollbar to auto or a fixed number.
, sizethumb : 'auto' // set the size of the thumb to auto or a fixed number.
, invertscroll : true // enable scrolling for mobiles
}
};
答案 0 :(得分:0)
它是scrollInvert而不是Invertscroll。如果你不相信我打开jquery.tinyscrollbar.js它将在第二个函数中。