From: Jörn Zaefferer Date: Thu, 4 Aug 2011 17:47:08 +0000 (+0200) Subject: Backport widget demo from master to get it up on jqueryui.com with the next 1.8.x... X-Git-Tag: 1.8.16~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66d6766dad15eb3fc429f92925d0a61f1900850c;p=jquery-ui.git Backport widget demo from master to get it up on jqueryui.com with the next 1.8.x release --- diff --git a/demos/index.html b/demos/index.html index 678c3330b..1eb0d8c74 100644 --- a/demos/index.html +++ b/demos/index.html @@ -287,7 +287,8 @@
Hide
Show
Utilities
-
Position
+
Position
+
Widget
About jQuery UI
Getting Started
Upgrade Guide
diff --git a/demos/widget/default.html b/demos/widget/default.html new file mode 100644 index 000000000..f45db8bbf --- /dev/null +++ b/demos/widget/default.html @@ -0,0 +1,189 @@ + + + + + jQuery UI Widget - Default functionality + + + + + + + + + + + + +
+ +
+
color me
+
color me
+
color me
+ + +
+ +
+ + + +
+

This demo shows a simple custom widget built using the widget factory (jquery.ui.widget.js).

+

The three boxes are initialized in different ways. Clicking them changes their background color. View source to see how it works, its heavily commented

+

For more details on the widget factory, visit the jQuery UI planning wiki.

+
+ + + diff --git a/demos/widget/index.html b/demos/widget/index.html new file mode 100644 index 000000000..1ecb4feea --- /dev/null +++ b/demos/widget/index.html @@ -0,0 +1,18 @@ + + + + + jQuery UI Widget Demo + + + + +
+

Examples

+ +
+ + +