• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 8. Creating Animations > Adding actions to animations

Adding actions to animations

Actions are premade scripts that let you trigger events and control different processes on the page. Actions can be attached to text, images, and floating boxes. You can use actions to control transition effects for animated floating boxes, and to control which animations play on a page. (For more information on actions, see Lesson 9, "Using Actions and JavaScript." )

In this part of the exercise you'll add actions to two animated floating boxes on the Prince.html page (the last link off the Poetry Sampler page). The floating boxes contain a poem and a poem title. When the page loads, the boxes are invisible. As the animation runs, the title box appears and moves to the right, and then the poem appears. The actions you add will make both boxes appear more gradually on the page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint