From: jzaefferer Date: Fri, 22 Oct 2010 23:51:12 +0000 (+0200) Subject: Replaced hexadecimal demo with decimal demo. Updated that and the currency demo ... X-Git-Tag: 1.9m3~1^2~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bc3d283d2c1547ac3d8b5aeb894b2e6290e2d3c6;p=jquery-ui.git Replaced hexadecimal demo with decimal demo. Updated that and the currency demo (previously donation) to use globalization plugin with a select for three different cultures (probably more to come). Updated spinner widget to use Globalization when available, replacing all number formatting related options with a single numberformat option. --- diff --git a/demos/spinner/currency.html b/demos/spinner/currency.html new file mode 100644 index 000000000..418dca228 --- /dev/null +++ b/demos/spinner/currency.html @@ -0,0 +1,62 @@ + + + + + jQuery UI Spinner - Default functionality + + + + + + + + + + + + + + + +
+ +

+ + +

+

+ + +

+
+ +
+

+ Example of a donation form, with currency selection and amout spinner. +

+
+ + + diff --git a/demos/spinner/decimal.html b/demos/spinner/decimal.html new file mode 100644 index 000000000..82d0fcc20 --- /dev/null +++ b/demos/spinner/decimal.html @@ -0,0 +1,58 @@ + + + + + jQuery UI Spinner - decimal + + + + + + + + + + + + + + + +
+

+ + +

+

+ + +

+
+ +
+

+ Example of a decimal spinner. Step is set to 0.01. +
The code handling the culture change reads the current spinner value, + then changes the culture, then sets the value again, resulting in an updated + formatting, based on the new culture. +

+
+ + + diff --git a/demos/spinner/donation.html b/demos/spinner/donation.html deleted file mode 100644 index 617570b12..000000000 --- a/demos/spinner/donation.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - jQuery UI Spinner - Default functionality - - - - - - - - - - - - -
- -

- - -

-

- - -

-
- -
-

-Example of a donation form, with currency selection and amout spinner. -

-
- - - diff --git a/demos/spinner/hexadecimal.html b/demos/spinner/hexadecimal.html deleted file mode 100644 index 03952a62d..000000000 --- a/demos/spinner/hexadecimal.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - jQuery UI Spinner - Hexadecimal - - - - - - - - - - - - -
- -

- - -

-
- -
-

-Example of a hexadecimal spinner. -

-
- - - diff --git a/demos/spinner/index.html b/demos/spinner/index.html index 6d7b980bd..68716ac99 100644 --- a/demos/spinner/index.html +++ b/demos/spinner/index.html @@ -9,8 +9,8 @@

Examples