aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effects_general
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2009-01-29 19:02:00 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2009-01-29 19:02:00 +0000
commit02ecb953a7cc6ffa29d0fbc57c7896501bc0a778 (patch)
tree4904b78ac521b07315e0072c86838811f01f79a7 /demos/effects_general
parent3b92895a7e5b89815e66a051d432cdf67f6646cc (diff)
downloadjquery-ui-02ecb953a7cc6ffa29d0fbc57c7896501bc0a778.tar.gz
jquery-ui-02ecb953a7cc6ffa29d0fbc57c7896501bc0a778.zip
demos: readded effects_general for 1.6rc6
Diffstat (limited to 'demos/effects_general')
-rw-r--r--demos/effects_general/bounce.html44
-rw-r--r--demos/effects_general/default.html44
-rw-r--r--demos/effects_general/highlight.html44
-rw-r--r--demos/effects_general/index.html23
-rw-r--r--demos/effects_general/pulsate.html44
-rw-r--r--demos/effects_general/scale.html46
-rw-r--r--demos/effects_general/shake.html44
-rw-r--r--demos/effects_general/size.html56
-rw-r--r--demos/effects_general/transfer.html50
9 files changed, 395 insertions, 0 deletions
diff --git a/demos/effects_general/bounce.html b/demos/effects_general/bounce.html
new file mode 100644
index 000000000..2c9648ba5
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..2c9648ba5
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..00ff9df46
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..21672a5e4
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..7354287c5
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..975eefec6
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..d5d1ae50f
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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..15902cedb
--- /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/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.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>