Dojo : Animation

<!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01//EN”
    “http://www.w3.org/TR/html4/strict.dtd”>
<html>
    <head>
        <title>Dojo</title>   
    <!– load the dojo toolkit base –>
    <script type=”text/javascript” src= “dojo/dojo/dojo.js”
        djConfig=”parseOnLoad:true, isDebug:true”></script>
    <script type=”text/javascript”>
dojo.addOnLoad(function(){
    var animArgs = {
    node: “testHeading”,
    duration: 1000, // ms to run animation
    delay: 250 // ms to stall before playing
    };
    dojo.fadeOut(animArgs).play();
});

    </script>
    <style type=”text/css”>
    /* CSS  */ 
    .testClass {
    background-color:red;
}
    </style>   
    </head>
    <body>
        <h1 id=”testHeading”>Dojo Animation!!</h1>       
        <div id=”contentNode”>
        <p></p>
    </div>
    </body>
</html>

Advertisements

2 Responses

  1. If some one wants to be updated with latest technologies
    after that he must be pay a visit this website
    and be up to date daily.

  2. Please let me know if you’re looking for a article writer for your site. You have some really great posts and I feel I would be a good asset. If you ever want to take some of the load off, I’d absolutely love to write some material for your blog
    in exchange for a link back to mine. Please shoot me
    an e-mail if interested. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: