O'Reilly logo

macromedia Dreamweaver 8 by Khristine Annwn Page

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Drag Layer Behavior

Layers can be combined with behaviors, which were covered in Lesson 8, to enable your visitors to interact with your page. The Drag Layer behavior makes it possible for the visitor to grab a layer in the browser window and move it to a different spot on the page. This is a great way to create interactive games or teaching tools with elements that can be moved by the user.

1.
Place the insertion point in the text that is in the textlayer layer. Click the <table> tag in the tag selector at the bottom of the Document window. Press the right arrow key once to move the insertion point after the table and insert the teaching.jpg image—type teaching as the alternative text for the image. The teaching.jpg image that you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required