Skip to content
Browse files

added effect methods demos - still have not made demos for the class …

  • Loading branch information
Scott Jehl
Scott Jehl committed Jan 30, 2009
1 parent 4aff25a commit 8d61ce344b820052a8ed34a2ffbe974d13576d93

This file was deleted.

@@ -1,22 +1,27 @@
<!doctype html>
<html lang="en">
<title>jQuery UI Effects - Explode Demo</title>
<title>jQuery UI Effect Methods - Animate 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; }
#button { padding: .5em 1em; text-decoration: none; }
#animate { width: 240px; height: 135px; padding: 0.4em; background: #fff;}
#animate h3 { margin: 0; padding: 0.4em; text-align: center; }
<script type="text/javascript">
$(function() {
$(".toggler").click(function() {
$("> :eq(0)", this).toggle("explode");
function() {
$("#animate").animate({backgroundColor: '#aa0000', color: '#fff'}, 1000);
function() {
$("#animate").animate({backgroundColor: '#fff', color: '#000'}, 1000);
@@ -25,14 +30,16 @@
<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>
<div id="animate" class="ui-widget-content ui-corner-all">
<h3 class="ui-widget-header ui-corner-all">Animate</h3>
Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.

<a href="#" id="button" class="ui-state-default ui-corner-all">Show Effect</a>

</div><!-- End demo -->

<div class="demo-description">

This file was deleted.

0 comments on commit 8d61ce3

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