diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojox/fx/tests/test_wipeTo.html | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2 |
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/fx/tests/test_wipeTo.html')
-rw-r--r-- | includes/js/dojox/fx/tests/test_wipeTo.html | 109 |
1 files changed, 0 insertions, 109 deletions
diff --git a/includes/js/dojox/fx/tests/test_wipeTo.html b/includes/js/dojox/fx/tests/test_wipeTo.html deleted file mode 100644 index 539453b..0000000 --- a/includes/js/dojox/fx/tests/test_wipeTo.html +++ /dev/null @@ -1,109 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" - "http://www.w3.org/TR/html4/strict.dtd"> -<html> -<head> - <title>dojox.fx.wipeTo | experimental fx add-ons for the Dojo Toolkit</title> - - <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug:true, parseOnLoad: true" ></script> - <script type="text/javascript" src="../_base.js"></script> - <style type="text/css"> - @import "../../../dojo/resources/dojo.css"; - @import "../../../dijit/themes/dijit.css"; - @import "../../../dijit/themes/tundra/tundra.css"; - @import "../../../dijit/tests/css/dijitTests.css"; - .testBox { - margin:8px; - width:80px; - height:80px; - background:#ededed; - border:1px solid #b7b7b7; - -moz-border-radius:6pt; - -webkit-border-radius:5pt; - } - </style> - <script type="text/javascript"> - dojo.require("dojox.fx.ext-dojo.NodeList"); - dojo.require("dojox.fx"); - dojo.require("dojo.fx"); - dojo.require("dijit.form.Button"); - var delayAnims = function(obj){ - console.log('yo'); - var delay = 0; - var _anims = []; - dojo.query(".testBox").forEach(function(n){ - _anims.push( - dojox.fx.wipeTo(dojo.mixin({ node:n, delay:(delay+=200) },obj)) - ); - }); - console.log(_anims); - dojo.fx.combine(_anims).play(); - - } - </script> -</head> -<body class="tundra"> - <h1 class="testTitle">dojox.fx.wipeTo test</h1> - - <p>quick sizeTo API overview:</p> - - <pre> - dojox.fx.wipeTo({ - // basic requirements: - node: "aDomNodeId", // or a domNode reference - width: 200 // measured in px - // height: 200 // measured in px (only one at a time, see sizeTo) - }); - </pre> - - <p>Some test boxes: (id="box1,box2,box3" etc ...)</p> - - <button dojoType="dijit.form.Button"> - wipeTo width: 400 - <script type="dojo/method" event="onClick"> - delayAnims({ width: 400 }); - </script> - </button> - <button dojoType="dijit.form.Button"> - wipeTo width: 100 - <script type="dojo/method" event="onClick"> - delayAnims({ width: 100 }); - </script> - </button> - <button dojoType="dijit.form.Button"> - wipeTo height: 400 - <script type="dojo/method" event="onClick"> - delayAnims({ height: 400 }); - </script> - </button> - <button dojoType="dijit.form.Button"> - wipeTo height: 25 - <script type="dojo/method" event="onClick"> - delayAnims({ height: 25 }); - </script> - </button> - <button dojoType="dijit.form.Button"> - wipeTo height: 100 - <script type="dojo/method" event="onClick"> - delayAnims({ height: 100 }); - </script> - </button> - - <div class="testBox" id="box1"> - I am some small text - </div> - - <div class="testBox" id="box2"> - I am some small text - </div> - - <div class="testBox" id="box3"> - I am some small text - </div> - - - <br style="clear:both;"> - - <br> - -</body> -</html> |