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

Sending Text to a Layer

You can insert behaviors that write to various objects: frames, layers, text entry fields, and the browser status bar. To use the Set Text of Layer behavior, follow these steps:

1.
Add a layer to the web page (Insert, Layout Objects, Layer) and name it feedback.

2.
Select an object on a web page to trigger the behavior. You can add this behavior to the same object you've used earlier this hour or you can add a null link to an object on any web page.

3.
Click the + button in the Behaviors panel. Choose the Set Text of Layer behavior from the Set Text submenu—the menu that appears when you place your mouse over Set Text in the Add Action drop-down menu. The Set Text of Layer dialog box appears.

4.
Select the layer named feedback from the drop-down menu.

5.
Enter some text in the New HTML text box, as shown in Figure 17.13. Click OK.

Figure 17.13. The Set Text of Layer dialog box enables you to enter text (and HTML) to display in the specified layer.


6.
Select the onClick event from the Event drop-down menu in the Behaviors panel.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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