Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/72.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/86.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
jquerynano滚动-问题_Jquery_Html - Fatal编程技术网

jquerynano滚动-问题

jquerynano滚动-问题,jquery,html,Jquery,Html,我在我的html页面中使用了jQuery Nano Scroll插件 问题:滚动窗格不可见。当我使用chrome检查div时,scrollpane已经显示出来了 有解决办法吗 我的代码: <style type="text/css"> .gt-scroll-prime{ height: 150px; } </style> <div class="gt-scroll-prime cs-sc

我在我的html页面中使用了jQuery Nano Scroll插件

问题:滚动窗格不可见。当我使用chrome检查div时,scrollpane已经显示出来了

有解决办法吗

我的代码:

     <style type="text/css">
      .gt-scroll-prime{
        height: 150px;
        }
       </style>

     <div class="gt-scroll-prime cs-scroller">
            <div class="cs-scroller-content">

            </div>  
      </div>

.gt滚动素数{
高度:150像素;
}
检查工作链接


我想它现在起作用的原因可能是您将
nano
类名更改为自定义名称。如果这样做,您可能还需要更改
nanoscroller.css
中的引用。我已尝试将默认类名放在您的小提琴中,但效果良好。

您能将问题复制到小提琴中吗?请检查链接结果部分没有显示任何内容。现在检查: