Animating PowerSchool Web Pages

Welcome to this web tutorial all about how to use the YUI to animate your pages!

 

Animating Motion: Write the Code

 

Now it is your turn. Fill in the blanks in the code block below to make the dog move into the doghouse. The id for the dog is, conveniently, "dog" and the doghouse coordinates are: , . You can use the YUI cheat sheet if you need to. All good programmer’s do it!

When you successfully fill in all the blanks, the dog will move into the doghouse. Good luck!

   var attributes = { 

       : {  : [ ] }

   };

   var anim =   (' ',  );

   anim. ;

   

Back   Next