开发者

Increase Autocomplete scrollbar size

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜