From 1ded43162afb181eeb7c3d89d7ce18082dc7f176 Mon Sep 17 00:00:00 2001 From: Scott Jehl Date: Fri, 27 Feb 2009 18:05:18 +0000 Subject: [PATCH] updated demos to a standard format - class animations do not seem to work in safari (unsure why) --- demos/addClass/default.html | 56 ++++++++++++++++++++++++++ demos/addClass/index.html | 17 ++++++++ demos/animate/default.html | 16 ++++---- demos/effect/default.html | 11 ++---- demos/hide/default.html | 69 +++++++++++++++++++++++++++++--- demos/index.html | 2 + demos/removeClass/default.html | 56 ++++++++++++++++++++++++++ demos/removeClass/index.html | 17 ++++++++ demos/show/default.html | 72 ++++++++++++++++++++++++++++++---- demos/switchClass/default.html | 28 ++++++------- demos/toggle/default.html | 60 +++++++++++++++++++++++++--- demos/toggleClass/default.html | 20 +++++----- 12 files changed, 365 insertions(+), 59 deletions(-) create mode 100644 demos/addClass/default.html create mode 100644 demos/addClass/index.html create mode 100644 demos/removeClass/default.html create mode 100644 demos/removeClass/index.html diff --git a/demos/addClass/default.html b/demos/addClass/default.html new file mode 100644 index 000000000..8a1486ca6 --- /dev/null +++ b/demos/addClass/default.html @@ -0,0 +1,56 @@ + + + + jQuery UI Effects - addClass Demo + + + + + + + + + +
+ +
+
+

Add Class

+

+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

+
+
+ +Run Effect + +
+ +
+ +

Click the button above to preview the effect.

+ +
+ + + diff --git a/demos/addClass/index.html b/demos/addClass/index.html new file mode 100644 index 000000000..4b9471d66 --- /dev/null +++ b/demos/addClass/index.html @@ -0,0 +1,17 @@ + + + + jQuery UI Effects Demos + + + + +
+

Examples

+ +
+ + + diff --git a/demos/animate/default.html b/demos/animate/default.html index 1e22ead8f..a01f08ad7 100644 --- a/demos/animate/default.html +++ b/demos/animate/default.html @@ -1,25 +1,25 @@ - jQuery UI Effect Methods - Animate Demo + jQuery UI Effects - Animate Demo @@ -23,7 +23,6 @@ #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; padding: 0.4em; text-align: center; } - .resetLink { position: absolute; top: 50px; left: 40px; color: #ddd; font-size: 24px; } .ui-effects-transfer { border: 2px dotted gray; } + + + + + + + + + + + @@ -26,14 +64,33 @@
-
+

Hide

Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.

-Show Effect + + + +Run Effect +
diff --git a/demos/index.html b/demos/index.html index 1e6871dcb..e18682464 100644 --- a/demos/index.html +++ b/demos/index.html @@ -250,6 +250,8 @@
Slider
Tabs
Effects
+
Add Class
+
Remove Class
Animate
Effect
Hide
diff --git a/demos/removeClass/default.html b/demos/removeClass/default.html new file mode 100644 index 000000000..429fdee22 --- /dev/null +++ b/demos/removeClass/default.html @@ -0,0 +1,56 @@ + + + + jQuery UI Effects - removeClass Demo + + + + + + + + + +
+ +
+
+

Remove Class

+

+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

+
+
+ +Run Effect + +
+ +
+ +

Click the button above to preview the effect.

+ +
+ + + diff --git a/demos/removeClass/index.html b/demos/removeClass/index.html new file mode 100644 index 000000000..4b9471d66 --- /dev/null +++ b/demos/removeClass/index.html @@ -0,0 +1,17 @@ + + + + jQuery UI Effects Demos + + + + +
+

Examples

+ +
+ + + diff --git a/demos/show/default.html b/demos/show/default.html index 5723874e5..3a9da8c0c 100644 --- a/demos/show/default.html +++ b/demos/show/default.html @@ -1,24 +1,62 @@ - jQuery UI Effect Methods - Show Demo + jQuery UI Effects - Show Demo + + + + + + + + + + + @@ -27,21 +65,39 @@
-
+

Show

Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.

-Show Effect + + + +Run Effect
-

Click the button above to show the effect.

+

Click the button above to preview the effect.

diff --git a/demos/switchClass/default.html b/demos/switchClass/default.html index 3289adfe0..99aa7b2ad 100644 --- a/demos/switchClass/default.html +++ b/demos/switchClass/default.html @@ -1,28 +1,26 @@ - jQuery UI Effect Methods - Switch Class Demo + jQuery UI Effects - switchClass Demo @@ -31,7 +29,7 @@
-
+

Switch Class

Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. @@ -39,7 +37,7 @@

-Show Effect +Run Effect
diff --git a/demos/toggle/default.html b/demos/toggle/default.html index 6d5b09538..d92f3d5cc 100644 --- a/demos/toggle/default.html +++ b/demos/toggle/default.html @@ -1,23 +1,53 @@ - jQuery UI Effect Methods - Toggle Demo + jQuery UI Effects - Toggle Demo + + + + + + + + + + + @@ -26,14 +56,32 @@
-
+

Toggle

Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.

-Show Effect + + + +Run Effect
diff --git a/demos/toggleClass/default.html b/demos/toggleClass/default.html index 77ae5e686..b01d2eca2 100644 --- a/demos/toggleClass/default.html +++ b/demos/toggleClass/default.html @@ -1,22 +1,24 @@ - jQuery UI Effect Methods - Add Class Demo + jQuery UI Effects - toggleClass Demo @@ -26,15 +28,15 @@
-
-

Animate

+
+

Toggle Class

Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.

-Show Effect +Run Effect