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

Popping Up Messages

I’m not a big fan of using JavaScript alert boxes, which is what the Popup Message behavior uses, but there are times when it can be useful. You’ll add a pop-up message stating that the user is exiting the course when he or she clicks the Exit button you created in Chapter 6. To add a pop-up message to the Exit button, follow these steps:

1.
Open the template where you added the Exit button.

2.
Select the Exit button image.

3.
In the Behaviors panel, multiple behaviors are already attached to this image. Add a new behavior by clicking the + button and selecting the Popup Message behavior from the Behaviors list box.

4.
Type You are exiting the course. in the Message text box.

5.
Click the OK button to save your changes.

6.
Select the onClick event from the Events list box.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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