From df932bbba35be7f2e6f741ee114644e536774a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 9 Sep 2010 22:24:52 -0400 Subject: [PATCH] Autocomplete demos: Coding standards. --- demos/autocomplete/categories.html | 40 ++++++------ demos/autocomplete/combobox.html | 50 +++++++-------- demos/autocomplete/custom-data.html | 74 +++++++++++----------- demos/autocomplete/default.html | 55 +++++++++++----- demos/autocomplete/folding.html | 34 +++++----- demos/autocomplete/index.html | 4 +- demos/autocomplete/maxheight.html | 53 +++++++++++----- demos/autocomplete/multiple-remote.html | 60 +++++++++--------- demos/autocomplete/multiple.html | 76 +++++++++++++++-------- demos/autocomplete/remote-jsonp.html | 65 +++++++++---------- demos/autocomplete/remote-with-cache.html | 32 +++++----- demos/autocomplete/remote.html | 46 +++++++------- demos/autocomplete/xml.html | 58 ++++++++--------- 13 files changed, 350 insertions(+), 297 deletions(-) diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html index bb59bf31e..693886d66 100644 --- a/demos/autocomplete/categories.html +++ b/demos/autocomplete/categories.html @@ -1,25 +1,25 @@ - + jQuery UI Autocomplete Custom Data Demo - - - - - - - - - - - - - - - - - - @@ -152,13 +152,11 @@ + +
-

-A custom widget built by composition of Autocomplete and Button. You can either type something into the field to get filtered suggestions based on your input, or use the button to get the full list of selections. -

-

-The input is read from an existing select-element for progressive enhancement, passed to Autocomplete with a customized source-option. -

+

A custom widget built by composition of Autocomplete and Button. You can either type something into the field to get filtered suggestions based on your input, or use the button to get the full list of selections.

+

The input is read from an existing select-element for progressive enhancement, passed to Autocomplete with a customized source-option.

diff --git a/demos/autocomplete/custom-data.html b/demos/autocomplete/custom-data.html index b9de20576..aa097fd58 100644 --- a/demos/autocomplete/custom-data.html +++ b/demos/autocomplete/custom-data.html @@ -1,16 +1,16 @@ - + jQuery UI Autocomplete Custom Data Demo - - - - - - - - - - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - @@ -76,13 +75,11 @@ + +
-

-The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field. -

-

-In this case, the datasource is the geonames.org webservice. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input. -

+

The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field.

+

In this case, the datasource is the geonames.org webservice. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input.

diff --git a/demos/autocomplete/remote-with-cache.html b/demos/autocomplete/remote-with-cache.html index 77741fbe9..09eb6c0d3 100644 --- a/demos/autocomplete/remote-with-cache.html +++ b/demos/autocomplete/remote-with-cache.html @@ -1,25 +1,25 @@ - + jQuery UI Autocomplete Remote with caching demo - - - - - - - - - - - - - - - - - - - - - - - @@ -59,13 +61,11 @@ + +
-

-This demo shows how to retrieve some XML data, parse it using jQuery's methods, then provide it to the autocomplete as the datasource. -

-

-This should also serve as a reference on how to parse a remote XML datasource - the parsing would just happen for each request within the source-callback. -

+

This demo shows how to retrieve some XML data, parse it using jQuery's methods, then provide it to the autocomplete as the datasource.

+

This should also serve as a reference on how to parse a remote XML datasource - the parsing would just happen for each request within the source-callback.