github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 558
    • 90
  • Source
  • Commits
  • Network (90)
  • Graphs
  • Tree: 888725a

click here to add a description

click here to add a homepage

  • Switch Branches (7)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (18)
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Updated Show/Hide/Toggle demos since they don't support the Transfer effect.  
Transfer was removed.
RedWolves (author)
Wed Apr 28 20:00:56 -0700 2010
rdworth (committer)
Thu Apr 29 09:13:44 -0700 2010
commit  888725a17b66e73ecfb4
tree    d2cb9ad2834615873844
parent  57c5b07ef8d5dc2d0f1b
M demos/hide/default.html 6 ••••
M demos/show/default.html 6 ••••
M demos/toggle/default.html 5 •••••
Txt demos/hide/default.html
  • View file @ 888725a
... ...
@@ -17,14 +17,12 @@
17 17
   <script type="text/javascript" src="../../ui/jquery.effects.scale.js"></script>
18 18
   <script type="text/javascript" src="../../ui/jquery.effects.shake.js"></script>
19 19
   <script type="text/javascript" src="../../ui/jquery.effects.slide.js"></script>
20  
-  <script type="text/javascript" src="../../ui/jquery.effects.transfer.js"></script>
21 20
   <link type="text/css" href="../demos.css" rel="stylesheet" />
22 21
   <style type="text/css">
23 22
     .toggler { width: 500px; height: 200px; }
24 23
     #button { padding: .5em 1em; text-decoration: none; }
25 24
     #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
26 25
     #effect h3 { margin: 0; padding: 0.4em; text-align: center; }
27  
-    .ui-effects-transfer { border: 2px dotted gray; } 
28 26
   </style>
29 27
   <script type="text/javascript">
30 28
   $(function() {
... ...
@@ -36,9 +34,8 @@
36 34
       
37 35
       //most effect types need no options passed by default
38 36
       var options = {};
39  
-      //check if it's scale, transfer, or size - they need options explicitly set
  37
+      //check if it's scale or size - they need options explicitly set
40 38
       if(selectedEffect == 'scale'){  options = {percent: 0}; }
41  
-      else if(selectedEffect == 'transfer'){ options = { to: "#button", className: 'ui-effects-transfer' }; }
42 39
       else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }
43 40
       
44 41
       //run the effect
... ...
@@ -88,7 +85,6 @@
88 85
   <option value="shake">Shake</option>
89 86
   <option value="size">Size</option>
90 87
   <option value="slide">Slide</option>
91  
-  <option value="transfer">Transfer</option>
92 88
 </select>
93 89
 
94 90
 <a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
Txt demos/show/default.html
  • View file @ 888725a
... ...
@@ -17,14 +17,12 @@
17 17
   <script type="text/javascript" src="../../ui/jquery.effects.scale.js"></script>
18 18
   <script type="text/javascript" src="../../ui/jquery.effects.shake.js"></script>
19 19
   <script type="text/javascript" src="../../ui/jquery.effects.slide.js"></script>
20  
-  <script type="text/javascript" src="../../ui/jquery.effects.transfer.js"></script>
21 20
   <link type="text/css" href="../demos.css" rel="stylesheet" />
22 21
   <style type="text/css">
23 22
     .toggler { width: 500px; height: 200px; }
24 23
     #button { padding: .5em 1em; text-decoration: none; }
25 24
     #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
26 25
     #effect h3 { margin: 0; padding: 0.4em; text-align: center; }
27  
-    .ui-effects-transfer { border: 2px dotted gray; } 
28 26
   </style>
29 27
   <script type="text/javascript">
30 28
   $(function() {
... ...
@@ -36,9 +34,8 @@
36 34
       
37 35
       //most effect types need no options passed by default
38 36
       var options = {};
39  
-      //check if it's scale, transfer, or size - they need options explicitly set
  37
+      //check if it's scale or size - they need options explicitly set
40 38
       if(selectedEffect == 'scale'){  options = {percent: 100}; }
41  
-      else if(selectedEffect == 'transfer'){ options = { to: "#button", className: 'ui-effects-transfer' }; }
42 39
       else if(selectedEffect == 'size'){ options = { to: {width: 280,height: 185} }; }
43 40
       
44 41
       //run the effect
... ...
@@ -89,7 +86,6 @@
89 86
   <option value="shake">Shake</option>
90 87
   <option value="size">Size</option>
91 88
   <option value="slide">Slide</option>
92  
-  <option value="transfer">Transfer</option>
93 89
 </select>
94 90
 
95 91
 <a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>
Txt demos/toggle/default.html
  • View file @ 888725a
... ...
@@ -17,14 +17,12 @@
17 17
   <script type="text/javascript" src="../../ui/jquery.effects.scale.js"></script>
18 18
   <script type="text/javascript" src="../../ui/jquery.effects.shake.js"></script>
19 19
   <script type="text/javascript" src="../../ui/jquery.effects.slide.js"></script>
20  
-  <script type="text/javascript" src="../../ui/jquery.effects.transfer.js"></script>
21 20
   <link type="text/css" href="../demos.css" rel="stylesheet" />
22 21
   <style type="text/css">
23 22
     .toggler { width: 500px; height: 200px; }
24 23
     #button { padding: .5em 1em; text-decoration: none; }
25 24
     #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; }
26 25
     #effect h3 { margin: 0; padding: 0.4em; text-align: center; }
27  
-    .ui-effects-transfer { border: 2px dotted gray; } 
28 26
   </style>
29 27
   <script type="text/javascript">
30 28
   $(function() {
... ...
@@ -35,7 +33,7 @@
35 33
       
36 34
       //most effect types need no options passed by default
37 35
       var options = {};
38  
-      //check if it's scale, transfer, or size - they need options explicitly set
  36
+      //check if it's scale or size - they need options explicitly set
39 37
       if(selectedEffect == 'scale'){  options = {percent: 0}; }
40 38
       else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }
41 39
       
... ...
@@ -79,7 +77,6 @@
79 77
   <option value="shake">Shake</option>
80 78
   <option value="size">Size</option>
81 79
   <option value="slide">Slide</option>
82  
-  <option value="transfer">Transfer</option>
83 80
 </select>
84 81
 
85 82
 <a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a>

0 notes on commit 888725a

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server