]> source.dussan.org Git - jquery-ui.git/commitdiff
Updated Show/Hide/Toggle demos since they don't support the Transfer effect. Transfe...
authorRalph Whitbeck <ralph.whitbeck@gmail.com>
Thu, 29 Apr 2010 03:00:56 +0000 (11:00 +0800)
committerRichard D. Worth <rdworth@gmail.com>
Thu, 29 Apr 2010 16:13:44 +0000 (00:13 +0800)
demos/hide/default.html
demos/show/default.html
demos/toggle/default.html

index 0e18a55815da8bfba9eeb2d00b81b862e739d3f4..678092d9a23d91d3ea07ea8154a4080f351bf7ca 100644 (file)
        <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: 0}; }
-                       else if(selectedEffect == 'transfer'){ options = { to: "#button", className: 'ui-effects-transfer' }; }
                        else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }
                        
                        //run the effect
@@ -88,7 +85,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>
index 24bbba6ec21a054fa3a7c6847eb927b9ecce750b..65cb288e5c5c9f5603a93510a957180f8ab3bbaf 100644 (file)
        <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>
index 3659a64e8093679fe3b538e8ee9f34be13128c84..d34fb22cd081816887f56f5145b061de538ab43f 100644 (file)
        <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() {
@@ -35,7 +33,7 @@
                        
                        //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: 0}; }
                        else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }
                        
@@ -79,7 +77,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>