增加自动完成滚动条的大小
我正在为触摸屏设备创建一个应用程序。自动完成功能可用的滚动条的大小非常用户友好。如何增加自动完成中滚动条的大小。 JQuery 自动完成
Geetha
I am creating a application for touchscreen device. The size of the scrollbar available with autocomplete is so user friendly. How to increase the size of the scrollbar in the autocomplete. JQuery autocomplete
Geetha
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试设置
scrollHeight
选项。我建议使用 jQuery UI Autocomplete 来代替,因为它更加灵活(我最近做了转变)。Try setting the
scrollHeight
option. I would suggest using the jQuery UI Autocomplete instead, as it's much more flexible (I recently made the switch).您可以通过修改 .ui-autocomplete 的高度来实现此目的。如果列表中有固定数量的项目,那么您可以通过设置属性来设置。
如果您的列表有所不同,那么您可以使用 max-height 属性。这在除 IE 之外的所有最新浏览器中都可以正常工作。在 IE 中,如果您提到 doctype ie 标准模式,它也可以工作
You can achieve this by modifying the height of .ui-autocomplete . If u have fixed number of items in the list then You can set this by setting property.
If your list varies , Then you can use max-height property . This works fine in all latest browsers except in IE. In IE also it works if you mention doctype i.e standards mode