Author: fg.todd
Date: Tue Jan 27 14:46:40 2009
New Revision: 1817
Added:
trunk/demos/effect_types/
trunk/demos/effect_types/blind.html
trunk/demos/effect_types/bounce.html
trunk/demos/effect_types/clip.html
trunk/demos/effect_types/default.html
trunk/demos/effect_types/drop.html
trunk/demos/effect_types/explode.html
trunk/demos/effect_types/fold.html
trunk/demos/effect_types/highlight.html
trunk/demos/effect_types/index.html
trunk/demos/effect_types/puff.html
trunk/demos/effect_types/pulsate.html
trunk/demos/effect_types/scale.html
trunk/demos/effect_types/shake.html
trunk/demos/effect_types/size.html
trunk/demos/effect_types/slide.html
trunk/demos/effect_types/transfer.html
Log:
Created new folder for effect_types that includes all standard effects
together to match the new effects docs structure. Also created a new
default.html page that contains a set of all effect demos together on one
page. If this looks ok, the 3 separate effects folders can be deleted.
Added: trunk/demos/effect_types/blind.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/blind.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Blind Demo</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.blind.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .toggler { width: 500px; height: 300px; }
+ #blind { width: 240px; height: 135px; padding: 0.4em; }
+ #blind h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("blind");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="blind" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Blind</h3>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+ </div>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the frame above to toggle the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/bounce.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/bounce.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,42 @@
+<!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.1.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>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the dialog above to preview the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/clip.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/clip.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Clip Demo</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.clip.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .toggler { width: 500px; height: 300px; }
+ #clip { width: 240px; height: 135px; padding: 0.4em; }
+ #clip .ui-widget-header { margin: 0; padding: 0.4em; text-align: center;
}
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("clip");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="clip" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Clip</h3>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+ </div>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the frame above to toggle the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/default.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/default.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,199 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - All Effect Types</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+
+ <script type="text/javascript" src="../../ui/effects.blind.js"></script>
+ <script type="text/javascript" src="../../ui/effects.bounce.js"></script>
+ <script type="text/javascript" src="../../ui/effects.clip.js"></script>
+ <script type="text/javascript" src="../../ui/effects.drop.js"></script>
+ <script type="text/javascript" src="../../ui/effects.explode.js"></script>
+ <script type="text/javascript" src="../../ui/effects.fold.js"></script>
+ <script type="text/javascript"
src="../../ui/effects.highlight.js"></script>
+ <script type="text/javascript" src="../../ui/effects.puff.js"></script>
+ <script type="text/javascript" src="../../ui/effects.pulsate.js"></script>
+ <script type="text/javascript" src="../../ui/effects.scale.js"></script>
+ <script type="text/javascript" src="../../ui/effects.size.js"></script>
+ <script type="text/javascript" src="../../ui/effects.slide.js"></script>
+ <script type="text/javascript" src="../../ui/effects.shake.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">
+ .wrapper { width: 110px; height: 90px; float:left; margin:5px;
cursor:pointer; }
+ .ui-widget-content { padding: 0.4em; }
+ .ui-widget-content h3 { margin: 0; padding: 0.4em; text-align: center; }
+ .ui-effects-transfer { border: 2px dotted gray; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#blind").click(function() {
+ $(this).children(0).toggle("blind");
+ });
+ $("#bounce").click(function() {
+ $(this).children(0).effect("bounce");
+ });
+ $("#clip").click(function() {
+ $(this).children(0).toggle("clip");
+ });
+ $("#drop").click(function() {
+ $(this).children(0).toggle("drop");
+ });
+ $("#explode").click(function() {
+ $(this).children(0).toggle("explode");
+ });
+ $("#fold").click(function() {
+ $(this).children(0).toggle("fold");
+ });
+ $("#highlight").click(function() {
+ $(this).children(0).effect("highlight");
+ });
+ $("#puff").click(function() {
+ $(this).children(0).toggle("puff");
+ });
+ $("#pulsate").click(function() {
+ $(this).children(0).effect("pulsate");
+ });
+ $("#scale").click(function() {
+ $(this).children(0).toggle("scale", { percent: 25 });
+ });
+ $("#shake").click(function() {
+ $(this).children(0).effect("shake");
+ });
+
+ $("#size").click(function() {
+ $(this).children(0).toggle(
+ function(){ $(this).effect("size", { to: {width: 50,height: 10} }); },
+ function(){ $(this).effect("size", { to: {width: 100,height: 70} }); }
+ );
+ });
+ $("#slide").click(function() {
+ $(this).children(0).toggle("slide");
+ });
+ $("#transfer").click(function() {
+ $(this).children(0).effect("transfer", {
+ to: "#highlight"
+ });
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="wrapper" id="blind">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Blind</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="bounce">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Bounce</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="clip">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Clip</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="drop">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Drop</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="explode">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Explode</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="fold">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Fold</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="highlight">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Highlight</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="puff">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Puff</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="pulsate">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Pulsate</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="scale">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Scale</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="shake">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Shake</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="size">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Size</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="slide">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Slide</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+<div class="wrapper" id="transfer">
+ <div class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Transfer</h3>
+ Click to view the effect in action.
+ </div>
+</div>
+
+
+
+
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the dialog above to preview the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/drop.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/drop.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Drop Demo</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.drop.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .toggler { width: 500px; height: 300px; }
+ #drop { width: 240px; height: 135px; padding: 0.4em; }
+ #drop .ui-widget-header { margin: 0; padding: 0.4em; text-align: center;
}
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("drop");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="drop" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Drop</h3>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+ </div>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the frame above to toggle the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/explode.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/explode.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Explode Demo</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.explode.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .toggler { width: 500px; height: 300px; }
+ #explode { width: 240px; height: 135px; padding: 0.4em; }
+ #explode h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("explode");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="explode" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Explode</h3>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+ </div>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the frame above to toggle the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/fold.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/fold.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Fold Demo</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/effects.core.js"></script>
+ <script type="text/javascript" src="../../ui/effects.fold.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .toggler { width: 500px; height: 300px; }
+ #fold { width: 240px; height: 135px; padding: 0.4em; }
+ #fold h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("fold");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="fold" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Fold</h3>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+ </div>
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the frame above to toggle the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/highlight.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/highlight.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,42 @@
+<!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.1.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>
+
+ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.
+
+</div>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+Click anywhere in the dialog above to preview the effect.
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
Added: trunk/demos/effect_types/index.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/index.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,31 @@
+<!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>Effect examples</h4>
+ <ul>
+ <li class="demo-config-on"><a href="default.html">All effects</a></li>
+ <li><a href="blind.html">Blind</a></li>
+ <li><a href="bounce.html">Bounce</a></li>
+ <li><a href="clip.html">Clip</a></li>
+ <li><a href="drop.html">Drop</a></li>
+ <li><a href="explode.html">Explode</a></li>
+ <li><a href="fold.html">Fold</a></li>
+ <li><a href="default.html">Highlight</a></li>
+ <li><a href="puff.html">Puff</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="slide.html">Slide</a></li>
+ <li><a href="transfer.html">Transfer</a></li>
+ </ul>
+</div>
+
+</body>
+</html>
Added: trunk/demos/effect_types/puff.html
==============================================================================
--- (empty file)
+++ trunk/demos/effect_types/puff.html Tue Jan 27 14:46:40 2009
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Puff Demo</title>
+ <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+