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 ... |
Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.