2

根据Tinyscroll 的网站,移动滚动应该可以工作。在您看到的选项下:

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

        }
    };
4

1 回答 1

0

它是 scrollInvert 而不是 Invertscroll。如果你不相信我打开 jquery.tinyscrollbar.js ,它将在第二个函数中。

于 2015-03-05T18:28:34.350 回答