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

Q&A

Q1:How can I apply a behavior to a layer that is hidden?
A1: You can select a hidden layer in the Layer palette. Switch to the Behavior palette, without selecting anything else, and apply the behavior. Or, you can temporarily set the layer to visible, apply the behavior, and then re-hide the layer.
Q2:How can I create a button that triggers a behavior?
A2: We'll cover forms and buttons in Hour 15, "Create a Form and Use It to Collect Data." Place a button without a form into the Web page to trigger a behavior. The trick is to make sure the button is not a submit or reset button. Insert a button from the forms section of the Object palette. Select None as the Action in the Property inspector and then apply a behavior to the button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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