使用jscrollpane的自定义滚动条不会出现在IE中,但可以在其他所有浏览器上使用 [英] custom scroll bar using jscrollpane doesn't appear in IE but works on every other browser

查看:106
本文介绍了使用jscrollpane的自定义滚动条不会出现在IE中,但可以在其他所有浏览器上使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jScrollPane,并且只是在所有浏览器中对其进行测试,并且发现它在IE中不起作用.有没有人有什么建议.谢谢.这是链接.

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.

推荐答案

在页面上animateScroll: true,之后您还有一个逗号...

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

更改...

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

到...

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

那应该在IE中显示滚动窗格.

That should display the scroll pane in IE.

这篇关于使用jscrollpane的自定义滚动条不会出现在IE中,但可以在其他所有浏览器上使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆