开发者

Increase Autocomplete scrollbar size

开发者 https://www.devze.com 2022-12-26 06:02 出处:网络
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 t开发者_如何学Pythonhe autoc

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 t开发者_如何学Pythonhe autocomplete. JQuery autocomplete

Geetha


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).


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号