Skip to content
Permalink
Browse files

demos: wrapped up effects demos. Removed easing for now

  • Loading branch information
rdworth committed Dec 31, 2008
1 parent ed437d7 commit 52739742794755e8472fbe05c84d510a2108a442

This file was deleted.

This file was deleted.

@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>

0 comments on commit 5273974

Please sign in to comment.
You can’t perform that action at this time.