aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorgnarf <gnarf@gnarf.net>2011-05-03 09:16:30 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-03 09:16:30 -0400
commit1f3f7bf7872db0dcfbaea0276eea93225d2a8f58 (patch)
tree934e7c8e75a28293e9e9f7daa486612b1d72dc87 /tests/visual
parentcbce3585bcd3edb0202839d9533c43d3a6df1d7f (diff)
downloadjquery-ui-1f3f7bf7872db0dcfbaea0276eea93225d2a8f58.tar.gz
jquery-ui-1f3f7bf7872db0dcfbaea0276eea93225d2a8f58.zip
Effects (blind): direction now accepts up/down/left/right as well as vertical(up) and horizontal(left) - Fixes #4480 - Invert the blind effect.
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/effects.all.html20
-rw-r--r--tests/visual/effects.all.js6
2 files changed, 20 insertions, 6 deletions
diff --git a/tests/visual/effects.all.html b/tests/visual/effects.all.html
index 1bbc7a110..1fc35f700 100644
--- a/tests/visual/effects.all.html
+++ b/tests/visual/effects.all.html
@@ -26,14 +26,26 @@
<ul class="effects">
<li>
- <div class="effect" id="blindHorizontally">
- <p>Blind horizontally</p>
+ <div class="effect" id="blindUp">
+ <p>Blind up</p>
</div>
</li>
<li>
- <div class="effect" id="blindVertically">
- <p>Blind vertically</p>
+ <div class="effect" id="blindDown">
+ <p>Blind down</p>
+ </div>
+ </li>
+
+ <li>
+ <div class="effect" id="blindLeft">
+ <p>Blind left</p>
+ </div>
+ </li>
+
+ <li>
+ <div class="effect" id="blindRight">
+ <p>Blind right</p>
</div>
</li>
diff --git a/tests/visual/effects.all.js b/tests/visual/effects.all.js
index 5e47a4f48..3ac8968b3 100644
--- a/tests/visual/effects.all.js
+++ b/tests/visual/effects.all.js
@@ -33,8 +33,10 @@ $(function() {
})
})
- effect("#blindHorizontally", "blind", { direction: "horizontal" });
- effect("#blindVertically", "blind", { direction: "vertical" });
+ effect("#blindLeft", "blind", { direction: "left" });
+ effect("#blindUp", "blind", { direction: "up" });
+ effect("#blindRight", "blind", { direction: "right" });
+ effect("#blindDown", "blind", { direction: "down" });
effect("#bounce3times", "bounce", { times: 3 });