]> source.dussan.org Git - jquery-ui.git/commitdiff
demos: readded effects_general for 1.6rc6
authorPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 29 Jan 2009 19:02:00 +0000 (19:02 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 29 Jan 2009 19:02:00 +0000 (19:02 +0000)
demos/effects_general/bounce.html [new file with mode: 0644]
demos/effects_general/default.html [new file with mode: 0644]
demos/effects_general/highlight.html [new file with mode: 0644]
demos/effects_general/index.html [new file with mode: 0644]
demos/effects_general/pulsate.html [new file with mode: 0644]
demos/effects_general/scale.html [new file with mode: 0644]
demos/effects_general/shake.html [new file with mode: 0644]
demos/effects_general/size.html [new file with mode: 0644]
demos/effects_general/transfer.html [new file with mode: 0644]

diff --git a/demos/effects_general/bounce.html b/demos/effects_general/bounce.html
new file mode 100644 (file)
index 0000000..2c9648b
--- /dev/null
@@ -0,0 +1,44 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Bounce Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.bounce.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #bounce { width: 240px; height: 135px; padding: 0.4em; }\r
+               #bounce h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#bounce").click(function() {\r
+                       $(this).effect("bounce");\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="bounce" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Bounce</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("bounce")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/default.html b/demos/effects_general/default.html
new file mode 100644 (file)
index 0000000..2c9648b
--- /dev/null
@@ -0,0 +1,44 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Bounce Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.bounce.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #bounce { width: 240px; height: 135px; padding: 0.4em; }\r
+               #bounce h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#bounce").click(function() {\r
+                       $(this).effect("bounce");\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="bounce" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Bounce</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("bounce")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/highlight.html b/demos/effects_general/highlight.html
new file mode 100644 (file)
index 0000000..00ff9df
--- /dev/null
@@ -0,0 +1,44 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Highlight Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.highlight.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #highlight { width: 240px; height: 135px; padding: 0.4em; }\r
+               #highlight h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#highlight").click(function() {\r
+                       $(this).effect("highlight");\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="highlight" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Highlight</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("highlight")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/index.html b/demos/effects_general/index.html
new file mode 100644 (file)
index 0000000..b7107e2
--- /dev/null
@@ -0,0 +1,23 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - General Demos</title>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+</head>\r
+<body>\r
+\r
+<div class="demos-nav">\r
+       <h4>General Effects</h4>\r
+       <ul>\r
+               <li class="demo-config-on"><a href="default.html">Bounce</a></li>\r
+               <li><a href="highlight.html">Highlight</a></li>\r
+               <li><a href="pulsate.html">Pulsate</a></li>\r
+               <li><a href="scale.html">Scale</a></li>\r
+               <li><a href="shake.html">Shake</a></li>\r
+               <li><a href="size.html">Size</a></li>\r
+               <li><a href="transfer.html">Transfer</a></li>\r
+       </ul>\r
+</div>\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/pulsate.html b/demos/effects_general/pulsate.html
new file mode 100644 (file)
index 0000000..21672a5
--- /dev/null
@@ -0,0 +1,44 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Pulsate Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.pulsate.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #pulsate { width: 240px; height: 135px; padding: 0.4em; }\r
+               #pulsate h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#pulsate").click(function() {\r
+                       $(this).effect("pulsate");\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="pulsate" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Pulsate</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("pulsate")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/scale.html b/demos/effects_general/scale.html
new file mode 100644 (file)
index 0000000..7354287
--- /dev/null
@@ -0,0 +1,46 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Scale Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.scale.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #scale { width: 240px; height: 135px; padding: 0.4em; }\r
+               #scale h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#scale").toggle(function() {\r
+                       $(this).effect("scale", { percent: 50 });\r
+               }, function() {\r
+                       $(this).effect("scale", { percent: 200 });\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="scale" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Scale</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("scale")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/shake.html b/demos/effects_general/shake.html
new file mode 100644 (file)
index 0000000..975eefe
--- /dev/null
@@ -0,0 +1,44 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Shake Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.shake.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #shake { width: 240px; height: 135px; padding: 0.4em; }\r
+               #shake h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#shake").click(function() {\r
+                       $(this).effect("shake");\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="shake" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Shake</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("shake")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/size.html b/demos/effects_general/size.html
new file mode 100644 (file)
index 0000000..d5d1ae5
--- /dev/null
@@ -0,0 +1,56 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Size Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.scale.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               #size { width: 240px; height: 135px; padding: 0.4em; }\r
+               #size h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#size").toggle(function() {\r
+                       $(this).effect("size", {\r
+                               to: {\r
+                                       width: 300,\r
+                                       height: 100\r
+                               }\r
+                       });\r
+               }, function() {\r
+                       $(this).effect("size", {\r
+                               to: {\r
+                                       width: 240,\r
+                                       height: 135\r
+                               }\r
+                       });\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="size" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Size</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("size")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r
diff --git a/demos/effects_general/transfer.html b/demos/effects_general/transfer.html
new file mode 100644 (file)
index 0000000..15902ce
--- /dev/null
@@ -0,0 +1,50 @@
+<!doctype html>\r
+<html lang="en">\r
+<head>\r
+       <title>jQuery UI Effects - Transfer Demo</title>\r
+       <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />\r
+       <script type="text/javascript" src="../../jquery-1.3.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.core.js"></script>\r
+       <script type="text/javascript" src="../../ui/effects.transfer.js"></script>\r
+       <link type="text/css" href="../demos.css" rel="stylesheet" />\r
+       <style type="text/css">\r
+               .ui-effects-transfer { border: 2px dotted gray; } \r
+               #transfer { width: 240px; height: 135px; padding: 0.4em; }\r
+               #transfer h3 { margin: 0; padding: 0.4em; text-align: center; }\r
+               #transfer-target { width: 80px; height: 80px; margin-top: 80px; }\r
+       </style>\r
+       <script type="text/javascript">\r
+       $(function() {\r
+               $("#transfer").click(function() {\r
+                       $(this).effect("transfer", {\r
+                               to: "#transfer-target"\r
+                       });\r
+               });\r
+       });\r
+       </script>\r
+</head>\r
+<body>\r
+\r
+<div class="demo">\r
+\r
+<div id="transfer" class="ui-widget-content ui-corner-all">\r
+       <h3 class="ui-widget-header ui-corner-all">Transfer</h3>\r
+       <p>\r
+               Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.\r
+       </p>\r
+</div>\r
+\r
+<div id="transfer-target" class="ui-widget-header"></div>\r
+\r
+</div><!-- End demo -->\r
+\r
+<div class="demo-description">\r
+\r
+<p>\r
+Click above to preview the <code>.effect("transfer")</code> effect.\r
+</p>\r
+\r
+</div><!-- End demo-description -->\r
+\r
+</body>\r
+</html>\r