aboutsummaryrefslogtreecommitdiffstats
path: root/demos/show
diff options
context:
space:
mode:
authorRalph Whitbeck <ralph.whitbeck@gmail.com>2010-04-29 11:00:56 +0800
committerRichard D. Worth <rdworth@gmail.com>2010-04-30 00:13:44 +0800
commit888725a17b66e73ecfb4716488a14fc5942e7477 (patch)
treed2cb9ad28346158738449a999c93743d464eb5a2 /demos/show
parent57c5b07ef8d5dc2d0f1bf99ef76c091622da17af (diff)
downloadjquery-ui-888725a17b66e73ecfb4716488a14fc5942e7477.tar.gz
jquery-ui-888725a17b66e73ecfb4716488a14fc5942e7477.zip
Updated Show/Hide/Toggle demos since they don't support the Transfer effect. Transfer was removed.
Diffstat (limited to 'demos/show')
-rw-r--r--demos/show/default.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/demos/show/default.html b/demos/show/default.html
index 24bbba6ec..65cb288e5 100644
--- a/demos/show/default.html
+++ b/demos/show/default.html
@@ -17,14 +17,12 @@
<script type="text/javascript" src="../../ui/jquery.effects.scale.js"></script>
<script type="text/javascript" src="../../ui/jquery.effects.shake.js"></script>
<script type="text/javascript" src="../../ui/jquery.effects.slide.js"></script>
- <script type="text/javascript" src="../../ui/jquery.effects.transfer.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
.toggler { width: 500px; height: 200px; }
#button { padding: .5em 1em; text-decoration: none; }
#effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
#effect h3 { margin: 0; padding: 0.4em; text-align: center; }
- .ui-effects-transfer { border: 2px dotted gray; }
</style>
<script type="text/javascript">
$(function() {
@@ -36,9 +34,8 @@
//most effect types need no options passed by default
var options = {};
- //check if it's scale, transfer, or size - they need options explicitly set
+ //check if it's scale or size - they need options explicitly set
if(selectedEffect == 'scale'){ options = {percent: 100}; }
- else if(selectedEffect == 'transfer'){ options = { to: "#button", className: 'ui-effects-transfer' }; }
else if(selectedEffect == 'size'){ options = { to: {width: 280,height: 185} }; }
//run the effect
@@ -89,7 +86,6 @@
<option value="shake">Shake</option>
<option value="size">Size</option>
<option value="slide">Slide</option>
- <option value="transfer">Transfer</option>
</select>
<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>