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

Exercises

  1. Create a second hyperlink for the Show-Hide Layers example that you did earlier in the hour. Type Hide the Layer, make it a hyperlink, and make clicking this hyperlink hide the layer you created.

  2. Try using some behaviors that are similar to the behaviors you have used in this hour (for example, the Set Text in Layer behavior and the Go to URL behavior). What events are available for these behaviors? What objects do you need to have on the web page for these behaviors to work?

  3. Create a layer and make that layer draggable by attaching the Drag Layer behavior to the <body> tag. Figure out how to constrain the layer movement to only horizontal (select Constrained from the Drag Layer dialog box). Check the web page by previewing it in a browser. Then try constraining the movement to only vertical. Finally, constrain the movement to an area.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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