Animating PowerSchool Web Pages

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

 

Animating Color and Size: Write the Code

 

Now it is your turn. Fill in the blanks in the code block below to make the angry div a happy one. The id of the div is, conveniently, "angry". You can use the YUI cheat sheet if you need to. All good programmer’s do it!

When you have successfully filled in all the blanks, the angry div will change into a happy one. Good luck!

   var attributes = { 

      : {  : '#FFFF00' }

      : {  : '#FFFF00' }

   };

   var anim =   ( ' ',  );

   anim. ;

Back   Next