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

Hour 13. Add Advanced Behaviors: Drag Layers > Capture the Drop Target Location

Capture the Drop Target Location

We could calculate or guess at the exact target location, which may work some of the time. But the easiest way to capture the perfect target location is to take advantage of Drag Layer behavior's built in Get Current Position button. This button will capture the position of the layer and fill in the coordinates for you.

  1. Line up the drag layer you set previously in the Drag Layer behavior in its final position in the Dreamweaver Document window. Remember that you can use the arrow keys on the keyboard to move the layer one pixel at a time for fine-tuning.

  2. Select the <body> tag from the tag selector.

  3. Double-click the Drag Layer behavior in the Behavior inspector to edit it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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