effects.tests: Adding 'size' effect to the visual effect tests

This commit is contained in:
gnarf 2011-05-04 21:04:28 -05:00
parent 116acb4cb2
commit c73e40adbe
2 changed files with 7 additions and 0 deletions

View File

@ -145,6 +145,12 @@
</div>
</li>
<li>
<div class="effect" id="size">
<p>Size</p>
</div>
</li>
<li>
<div class="effect" id="slideDown">
<p>Slide down</p>

View File

@ -61,6 +61,7 @@ $(function() {
effect("#puff", "puff", { times: 2 });
effect("#scale", "scale", {});
effect("#size", "size", { from: { width: 300, height: 300 }});
$("#shake").bind("click", function() { $(this).addClass("current").effect("shake", {}, 100, function() { $(this).removeClass("current"); }); });