diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-31 21:18:06 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-31 21:18:06 +0000 |
commit | 9569feca26d4fb0dda2346ab5cfe1eafc2d154b4 (patch) | |
tree | 114055fe4a7c7c5c4b67d5e8e11f2b6e5fd796e6 /demos | |
parent | 5cad1621a2efbd04a24ed572162564da3ac195b3 (diff) | |
download | jquery-ui-9569feca26d4fb0dda2346ab5cfe1eafc2d154b4.tar.gz jquery-ui-9569feca26d4fb0dda2346ab5cfe1eafc2d154b4.zip |
demos/effects: Added show/hide/toggle effect demos
Diffstat (limited to 'demos')
-rw-r--r-- | demos/effects/blind.html | 47 | ||||
-rw-r--r-- | demos/effects/clip.html | 47 | ||||
-rw-r--r-- | demos/effects/default.html | 47 | ||||
-rw-r--r-- | demos/effects/drop.html | 47 | ||||
-rw-r--r-- | demos/effects/explode.html | 47 | ||||
-rw-r--r-- | demos/effects/fold.html | 47 | ||||
-rw-r--r-- | demos/effects/index.html | 13 | ||||
-rw-r--r-- | demos/effects/puff.html | 47 | ||||
-rw-r--r-- | demos/effects/scale.html | 47 | ||||
-rw-r--r-- | demos/effects/slide.html | 47 |
10 files changed, 433 insertions, 3 deletions
diff --git a/demos/effects/blind.html b/demos/effects/blind.html new file mode 100644 index 000000000..eb176ae57 --- /dev/null +++ b/demos/effects/blind.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Blind 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.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>
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("blind")</code> effect. You can click again to see the <code>.show("blind")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/clip.html b/demos/effects/clip.html new file mode 100644 index 000000000..ee0cfb420 --- /dev/null +++ b/demos/effects/clip.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Clip 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.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>
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("clip")</code> effect. You can click again to see the <code>.show("clip")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/default.html b/demos/effects/default.html new file mode 100644 index 000000000..eb176ae57 --- /dev/null +++ b/demos/effects/default.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Blind 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.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>
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("blind")</code> effect. You can click again to see the <code>.show("blind")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/drop.html b/demos/effects/drop.html new file mode 100644 index 000000000..dbb259405 --- /dev/null +++ b/demos/effects/drop.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Drop 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.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>
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("drop")</code> effect. You can click again to see the <code>.show("drop")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/explode.html b/demos/effects/explode.html new file mode 100644 index 000000000..5b3677645 --- /dev/null +++ b/demos/effects/explode.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Explode 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.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>
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("explode")</code> effect. You can click again to see the <code>.show("explode")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/fold.html b/demos/effects/fold.html new file mode 100644 index 000000000..0c8ac7574 --- /dev/null +++ b/demos/effects/fold.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Fold 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.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>
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("fold")</code> effect. You can click again to see the <code>.show("fold")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/index.html b/demos/effects/index.html index 9876d1998..3d70b4f89 100644 --- a/demos/effects/index.html +++ b/demos/effects/index.html @@ -1,15 +1,22 @@ <!doctype html>
<html lang="en">
<head>
- <title>jQuery UI Effect Show/Hide Demos</title>
+ <title>jQuery UI Effects - Show/Hide Demos</title>
<link type="text/css" href="../demos.css" rel="stylesheet" />
</head>
<body>
<div class="demos-nav">
- <h4>Examples</h4>
+ <h4>Show/Hide and Toggle Effects</h4>
<ul>
- <li class="demo-config-on"><a href="default.html">Default</a></li>
+ <li class="demo-config-on"><a href="default.html">Blind</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="puff.html">Puff</a></li>
+ <li><a href="scale.html">Scale</a></li>
+ <li><a href="slide.html">Slide</a></li>
</ul>
</div>
diff --git a/demos/effects/puff.html b/demos/effects/puff.html new file mode 100644 index 000000000..62f217b7e --- /dev/null +++ b/demos/effects/puff.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Puff 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">
+ .toggler { width: 500px; height: 300px; }
+ #puff { width: 240px; height: 135px; padding: 0.4em; }
+ #puff h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("puff");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="puff" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Puff</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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("puff")</code> effect. You can click again to see the <code>.show("puff")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/scale.html b/demos/effects/scale.html new file mode 100644 index 000000000..4a7d51e82 --- /dev/null +++ b/demos/effects/scale.html @@ -0,0 +1,47 @@ +<!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">
+ .toggler { width: 500px; height: 300px; }
+ #scale { width: 240px; height: 135px; padding: 0.4em; }
+ #scale h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("scale");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("scale")</code> effect. You can click again to see the <code>.show("scale")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
diff --git a/demos/effects/slide.html b/demos/effects/slide.html new file mode 100644 index 000000000..ded93bf1a --- /dev/null +++ b/demos/effects/slide.html @@ -0,0 +1,47 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Effects - Slide 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.slide.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <style type="text/css">
+ .toggler { width: 500px; height: 300px; }
+ #slide { width: 240px; height: 135px; padding: 0.4em; }
+ #slide h3 { margin: 0; padding: 0.4em; text-align: center; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $(".toggler").click(function() {
+ $("> :eq(0)", this).toggle("slide");
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div class="toggler">
+ <div id="slide" class="ui-widget-content ui-corner-all">
+ <h3 class="ui-widget-header ui-corner-all">Slide</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>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>
+Click above to preview the <code>.hide("slide")</code> effect. You can click again to see the <code>.show("slide")</code> effect.
+</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>
|