Fade me out : Animation « Dojo toolkit « JavaScript Tutorial

Home
JavaScript Tutorial
1.Language Basics
2.Operators
3.Statement
4.Development
5.Number Data Type
6.String
7.Function
8.Global
9.Math
10.Form
11.Array
12.Date
13.Dialogs
14.Document
15.Event
16.Location
17.Navigator
18.Screen
19.Window
20.History
21.HTML Tags
22.Style
23.DOM Node
24.Drag Drop
25.Object Oriented
26.Regular Expressions
27.XML
28.GUI Components
29.Dojo toolkit
30.jQuery
31.Animation
32.MS JScript
JavaScript Tutorial » Dojo toolkit » Animation 
29.86.12.Fade me out
<html>
  <head>
    <link rel="StyleSheet" type="text/css"
      href="js/dojo/dijit/themes/tundra/tundra.css">
      
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
                dojo.addOnLoad(function(  ) {
                var box = dojo.byId("box");
                dojo.connect(box, "onclick"function(evt) {
                    var anim = dojo.fadeOut({node:box});
                    anim.play(  );
                });
            });
    </script>
  </head>
  <body class="tundra">
       <div id="box" style="background : blue">click to Fade Me Out</div>
</body>
</html>
29.86.Animation
29.86.1.Animate width property
29.86.2.Animation easing function
29.86.3.Animation with dojox.timing.Sequence
29.86.4.Animation: Add new class to tag and
29.86.5.Animation: enlarge
29.86.6.Animation: fly
29.86.7.Animation: resize
29.86.8.Animation: stratch
29.86.9.Chained animation
29.86.10.Change position animation
29.86.11.Fade effect for Menu under ComboButton
29.86.12.Fade me out
29.86.13.Fade out animation demo
29.86.14.Fadein animation
29.86.15.Fadeout animation
29.86.16.Cross fade
29.86.17.Highlight animation
29.86.18.Path animation
29.86.19.Set animation rate
29.86.20.Pause before
29.86.21.Pause one second
29.86.22.Repeat 5 times
29.86.23.Wipeout animation
29.86.24.Wipeout animation easing function
29.86.25.dojo animation alert
29.86.26.Math ease function
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.