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

Lesson 9. Using Actions and JavaScript > Creating actions on call

Creating actions on call

You've already seen in the first section of this lesson how head actions can be created that automatically load when the viewer first opens the page. In this section, you'll create some more head actions that rely on an OnCall trigger; that is, the action happens only when it is explicitly called in response to a viewer clicking a button or doing something on the page. You'll add an image to existing floating boxes, create some "on call" head actions, and then assign the actions to the image in order to display a More Info box with information on the selected company.

Prepping images for actions

To the right of the main body of the page are two overlapping floating boxes (not currently visible) containing more information on two companies featured on the site. These More Info boxes appear when the viewer clicks a More Info button next to a company in the main table. You'll take a quick look at these boxes and then add an image to act as a trigger to display a More Info box when clicked.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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