From 5e3755af8aa17b2bf742761b6ca40acccb248a04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 19 Jul 2010 14:17:44 -0400 Subject: [PATCH] Autocomplete: Added demo of scrollable results. Fixes #5815 - Autocomplete: document and demo a scrolling menu. --- demos/autocomplete/index.html | 1 + demos/autocomplete/maxheight.html | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 demos/autocomplete/maxheight.html diff --git a/demos/autocomplete/index.html b/demos/autocomplete/index.html index ba96d994e..c866ba199 100644 --- a/demos/autocomplete/index.html +++ b/demos/autocomplete/index.html @@ -13,6 +13,7 @@
  • Remote datasource
  • Remote with caching
  • Remote JSONP datasource
  • +
  • Scrollable results (max-height)
  • Combobox
  • Custom data and display
  • XML data parsed once
  • diff --git a/demos/autocomplete/maxheight.html b/demos/autocomplete/maxheight.html new file mode 100644 index 000000000..97de724ba --- /dev/null +++ b/demos/autocomplete/maxheight.html @@ -0,0 +1,52 @@ + + + + + jQuery UI Autocomplete Scrollable Results Demo + + + + + + + + + + + + +
    + +
    + + +
    + +
    + +
    +

    +When displaying a long list of options, you can simply set the max-height for the autocomplete menu to prevent the menu from growing too large. Try typing "a" or "s" above to get a long list of results that you can scroll through. +

    +
    + + + -- 2.39.5