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

Popping Up a Message

Add an additional behavior, a pop-up 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 where you applied the previous behavior. You should see the Open Browser Window behavior listed in the Behaviors panel. Make sure that <img> Actions appears in the title bar of the Behaviors panel.

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 16.11. Click OK after typing the message.

Figure 16.11. The Popup Message dialog box has a text box where you type the message that will pop up for the user.


4.
Select the onClick event as you did in the Open Browser Window earlier. 4.0 or better should be selected in the Show Events For submenu.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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