custom scroll bar using jscrollpane doesn't appear in IE but works on every other browser

烈酒焚心 提交于 2019-12-13 08:31:40

问题


I am using jScrollPane and are just testing it in all browsers and have discovered that it doesn't work in IE. Does anyone have any suggestions. Thanks. Here is the link.


回答1:


You have an extra comma after animateScroll: true, on your page...

change...

$(this).jScrollPane(
{
    showArrows: false,
    animateScroll: true,
}

to...

$(this).jScrollPane(
{
    showArrows: false,
    animateScroll: true
}

That should display the scroll pane in IE.



来源:https://stackoverflow.com/questions/9729672/custom-scroll-bar-using-jscrollpane-doesnt-appear-in-ie-but-works-on-every-othe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!