• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 17. Adding Interactivity with Behav... > Adding a Draggable Layer to a Web Pa...

Adding a Draggable Layer to a Web Page

The Drag Layer behavior enables you to create layers that the user can drag around the browser window. You can even constrain the area within which the layer can be dragged. This capability is useful for creating sliders, puzzles, dialog boxes, and other interactions.

You can use the Drag Layer behavior to let users interact with objects on your web page. For instance, you might have a layer that contains a map legend. You could make that layer draggable so the user could move it out of the way if it happened to be blocking part of the map. Or you could create a blank face and let people drag different noses, ears, eyes, and so on, onto the face.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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