diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-31 22:53:33 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-31 22:53:33 +0000 |
commit | 52739742794755e8472fbe05c84d510a2108a442 (patch) | |
tree | 7a4f2837dbc4b0119df50ece32ac942138a12ed6 | |
parent | ed437d785d7f03b0aa66a982aaef150496fd5159 (diff) | |
download | jquery-ui-52739742794755e8472fbe05c84d510a2108a442.tar.gz jquery-ui-52739742794755e8472fbe05c84d510a2108a442.zip |
demos: wrapped up effects demos. Removed easing for now
22 files changed, 396 insertions, 36 deletions
diff --git a/demos/effects-easing/index.html b/demos/effects-easing/index.html deleted file mode 100644 index e621b2e22..000000000 --- a/demos/effects-easing/index.html +++ /dev/null @@ -1,17 +0,0 @@ -<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Effects - Easings Demos</title>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
-</head>
-<body>
-
-<div class="demos-nav">
- <h4>Examples</h4>
- <ul>
- <li class="demo-config-on"><a href="default.html">Default</a></li>
- </ul>
-</div>
-
-</body>
-</html>
diff --git a/demos/effects-general/index.html b/demos/effects-general/index.html deleted file mode 100644 index d0ced3105..000000000 --- a/demos/effects-general/index.html +++ /dev/null @@ -1,17 +0,0 @@ -<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Effects - General Demos</title>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
-</head>
-<body>
-
-<div class="demos-nav">
- <h4>Examples</h4>
- <ul>
- <li class="demo-config-on"><a href="default.html">Default</a></li>
- </ul>
-</div>
-
-</body>
-</html>
diff --git a/demos/effects_general/bounce.html b/demos/effects_general/bounce.html new file mode 100644 index 000000000..9cff9dfaa --- /dev/null +++ b/demos/effects_general/bounce.html @@ -0,0 +1,44 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Bounce Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.bounce.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #bounce { width: 240px; height: 135px; padding: 0.4em; }
+ #bounce h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#bounce").click(function() {
+ $(this).effect("bounce");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="bounce" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Bounce</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("bounce")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/default.html b/demos/effects_general/default.html new file mode 100644 index 000000000..9cff9dfaa --- /dev/null +++ b/demos/effects_general/default.html @@ -0,0 +1,44 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Bounce Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.bounce.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #bounce { width: 240px; height: 135px; padding: 0.4em; }
+ #bounce h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#bounce").click(function() {
+ $(this).effect("bounce");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="bounce" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Bounce</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("bounce")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/highlight.html b/demos/effects_general/highlight.html new file mode 100644 index 000000000..fe162ecb1 --- /dev/null +++ b/demos/effects_general/highlight.html @@ -0,0 +1,44 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Highlight Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.highlight.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #highlight { width: 240px; height: 135px; padding: 0.4em; }
+ #highlight h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#highlight").click(function() {
+ $(this).effect("highlight");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="highlight" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Highlight</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("highlight")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/index.html b/demos/effects_general/index.html new file mode 100644 index 000000000..b7107e224 --- /dev/null +++ b/demos/effects_general/index.html @@ -0,0 +1,23 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - General Demos</title>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+</head>
+<body>
+
+<div class="demos-nav">
+ <h4>General Effects</h4>
+ <ul>
+ <li class="demo-config-on"><a href="default.html">Bounce</a></li>
+ <li><a href="highlight.html">Highlight</a></li>
+ <li><a href="pulsate.html">Pulsate</a></li>
+ <li><a href="scale.html">Scale</a></li>
+ <li><a href="shake.html">Shake</a></li>
+ <li><a href="size.html">Size</a></li>
+ <li><a href="transfer.html">Transfer</a></li>
+ </ul>
+</div>
+
+</body>
+</html>
diff --git a/demos/effects_general/pulsate.html b/demos/effects_general/pulsate.html new file mode 100644 index 000000000..8c60de52f --- /dev/null +++ b/demos/effects_general/pulsate.html @@ -0,0 +1,44 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Pulsate Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.pulsate.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #pulsate { width: 240px; height: 135px; padding: 0.4em; }
+ #pulsate h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#pulsate").click(function() {
+ $(this).effect("pulsate");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="pulsate" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Pulsate</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("pulsate")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/scale.html b/demos/effects_general/scale.html new file mode 100644 index 000000000..02cd718a6 --- /dev/null +++ b/demos/effects_general/scale.html @@ -0,0 +1,46 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Scale Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.scale.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #scale { width: 240px; height: 135px; padding: 0.4em; }
+ #scale h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#scale").toggle(function() {
+ $(this).effect("scale", { percent: 50 });
+ }, function() {
+ $(this).effect("scale", { percent: 200 });
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="scale" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Scale</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("scale")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/shake.html b/demos/effects_general/shake.html new file mode 100644 index 000000000..a88a2a58c --- /dev/null +++ b/demos/effects_general/shake.html @@ -0,0 +1,44 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Shake Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.shake.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #shake { width: 240px; height: 135px; padding: 0.4em; }
+ #shake h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#shake").click(function() {
+ $(this).effect("shake");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="shake" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Shake</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("shake")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/size.html b/demos/effects_general/size.html new file mode 100644 index 000000000..fee70303d --- /dev/null +++ b/demos/effects_general/size.html @@ -0,0 +1,56 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Size Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.scale.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ #size { width: 240px; height: 135px; padding: 0.4em; }
+ #size h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#size").toggle(function() {
+ $(this).effect("size", {
+ to: {
+ width: 300,
+ height: 100
+ }
+ });
+ }, function() {
+ $(this).effect("size", {
+ to: {
+ width: 240,
+ height: 135
+ }
+ });
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="size" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Size</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("size")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects_general/transfer.html b/demos/effects_general/transfer.html new file mode 100644 index 000000000..f5fc39fef --- /dev/null +++ b/demos/effects_general/transfer.html @@ -0,0 +1,50 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Transfer Demo</title>
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.transfer.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .ui-effects-transfer { border: 2px dotted gray; }
+ #transfer { width: 240px; height: 135px; padding: 0.4em; }
+ #transfer h3 { margin: 0; padding: 0.4em; text-align: center; }
+ #transfer-target { width: 80px; height: 80px; margin-top: 80px; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#transfer").click(function() {
+ $(this).effect("transfer", {
+ to: "#transfer-target"
+ });
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="transfer" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Transfer</h3>
+ <p>
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+ </p>
+</div>
+
+<div id="transfer-target" class="ui-widget-header"></div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.effect("transfer")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/blind.html b/demos/effects_showhide/blind.html index eb176ae57..eb176ae57 100644 --- a/demos/effects/blind.html +++ b/demos/effects_showhide/blind.html diff --git a/demos/effects/clip.html b/demos/effects_showhide/clip.html index ee0cfb420..ee0cfb420 100644 --- a/demos/effects/clip.html +++ b/demos/effects_showhide/clip.html diff --git a/demos/effects/default.html b/demos/effects_showhide/default.html index eb176ae57..eb176ae57 100644 --- a/demos/effects/default.html +++ b/demos/effects_showhide/default.html diff --git a/demos/effects/drop.html b/demos/effects_showhide/drop.html index dbb259405..dbb259405 100644 --- a/demos/effects/drop.html +++ b/demos/effects_showhide/drop.html diff --git a/demos/effects/explode.html b/demos/effects_showhide/explode.html index 5b3677645..5b3677645 100644 --- a/demos/effects/explode.html +++ b/demos/effects_showhide/explode.html diff --git a/demos/effects/fold.html b/demos/effects_showhide/fold.html index 0c8ac7574..0c8ac7574 100644 --- a/demos/effects/fold.html +++ b/demos/effects_showhide/fold.html diff --git a/demos/effects/index.html b/demos/effects_showhide/index.html index 3d70b4f89..3d70b4f89 100644 --- a/demos/effects/index.html +++ b/demos/effects_showhide/index.html diff --git a/demos/effects/puff.html b/demos/effects_showhide/puff.html index 62f217b7e..62f217b7e 100644 --- a/demos/effects/puff.html +++ b/demos/effects_showhide/puff.html diff --git a/demos/effects/scale.html b/demos/effects_showhide/scale.html index 4a7d51e82..4a7d51e82 100644 --- a/demos/effects/scale.html +++ b/demos/effects_showhide/scale.html diff --git a/demos/effects/slide.html b/demos/effects_showhide/slide.html index ded93bf1a..ded93bf1a 100644 --- a/demos/effects/slide.html +++ b/demos/effects_showhide/slide.html diff --git a/demos/index.html b/demos/index.html index c409115f2..a17aad6ce 100644 --- a/demos/index.html +++ b/demos/index.html @@ -85,9 +85,8 @@ <dd><a href="slider/index.html">Slider</a></dd> <dd><a href="tabs/index.html">Tabs</a></dd> <dt>Effects</dt> - <dd><a href="effects_easing/index.html">Easing</a></dd> <dd><a href="effects_general/index.html">General</a></dd> - <dd><a href="effects/index.html">Show/Hide</a></dd> + <dd><a href="effects_showhide/index.html">Show/Hide</a></dd> </dl> </td> <td class="normal"> |