From 92e37865a0734e7ea98b0dcf0e6519916c0434e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Thu, 2 Jun 2011 13:22:33 +0200 Subject: [PATCH] Widget demo: Replace inline editor with colorize. This can stick around forever, won't be making it a real widget. --- demos/widget/default.html | 167 +++++++++++++++++++++----------------- 1 file changed, 91 insertions(+), 76 deletions(-) diff --git a/demos/widget/default.html b/demos/widget/default.html index 0629d862a..a9284a423 100644 --- a/demos/widget/default.html +++ b/demos/widget/default.html @@ -10,95 +10,108 @@ @@ -108,9 +121,11 @@
-

This is an editable header

-

And an editable paragraph

- +
color me
+
color me
+
color me
+ +
@@ -119,7 +134,7 @@

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

-

The header is set to change the element on blur, the paragraph only changes when you submit with Enter.

+

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

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

-- 2.39.5