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

Popup a Message

Now add an additional behavior, a popup message, to the same image you used to open a browser window. The Popup Message behavior displays a JavaScript alert box with a message. To add the Popup Message behavior:

  1. Select the image, the object you apply the behavior to. You should see the Open Browser Window behavior listed in the Behaviors inspector. 4.0 or better should be selected in the Events For pop-up menu and "<img> Actions" appears in the title bar of the Behavior inspector.

  2. Click on the + button and select the Popup Message behavior.

  3. The Popup Message dialog box includes a text box where you type your message as shown in Figure 12.11. Click OK after you finish typing the message.

  4. Select the onClick event like you did in the Open Browser Window earlier.

    Figure 12.11. The Popup Message dialog box has a text box where you type in the message that will popup to the user.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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