| Creating layers on your page To create a layer, do one of the following: • To draw a layer, click the Draw Layer button in the Insert bar, then drag in the Document window's Design view to draw the layer. • To insert a layer's code at a particular place in the document, place the insertion point in the Document window and then choose Insert > Layer. If you have Invisible Elements showing, a layer-code marker appears in the Design view each time you place a layer on the page. If layer-code markers aren't visible and you want to see them, choose View > Visual Aids > Invisible Elements. Note: When the Invisible Elements option is turned on, the elements on your page may appear to shift position. However, invisible elements don't appear in browsers, so when you view your page in a browser, all the visible elements appear in the correct positions. |


| To draw multiple layers consecutively: 1. Click the Draw Layer button in the Insert bar. 2. Control-drag (Windows) or Command-drag (Macintosh) to draw each layer. You can continue to draw new layers as long as you do not release the Control or Command key. |
| Use the Layers panel to prevent overlaps, to change the visibility of layers, to nest or stack layers, and to select one or more layers. |
|
1. TO DO: Create a layer on your own new web page. Open up Dreamweaver after you have downloaded the different colored circles linked above. Copy some text or type in whatever you want in one layer and put one or more circles under and above the text on another layer. Label each layer. Play! |
Nesting layers
As you work with your page layout, you can select, move, resize, and
align layers. You must select a layer before you can move, resize, or
align it. You can move layers in the Design view in much the same
way that you move objects in most basic graphics applications. |


Aligning layers |
| TO DO 2.: On your web page create three layers, use wither or both the align and grid feature to align three circles in a line as above, then once again make a triangle of the three. |
| Snapping layers to the
grid Use the grid as a visual guide for drawing, positioning, or resizing layers in the Document window's Design view. You can make page elements automatically snap to the grid as you move them, and change the grid or control the snapping behavior by specifying grid settings. Snapping works whether or not the grid is visible. To show or hide the grid: Choose View > Grid > Show Grid. To enable or disable snapping: Choose View > Grid > Snap to Grid. To change grid settings: 1. Choose View > Grid > Grid Settings. The Grid Settings dialog box appears Viewing and setting layer properties |

| To Do 3: Change the properties of your layer.. above I added a background color, a background picture and then added a picture above with a border. Make a more attractive compositon please! |
| Changing the stacking order of layers Use the Property inspector or the Layers panel to change the stacking order of layers. The layer at the top of the Layers panel list is at the top of the stacking order, and appears in front of the other layers. In HTML code, the stacking order, or z-index, of the layers determines the order in which they are drawn in a browser. You can change the z-index for each layer using the Layers panel or using the Property inspector. To change the stacking order of layers in the Layers panel: Choose Window > Others > Layers to open the Layers panel. Then do one of the following: • Select and drag a layer up or down to the desired stacking order. A line appears as you move the layer, indicating where the layer will appear. Release the mouse button when the placement line appears in the desired place in the stacking order. • In the Z column, click the number of the layer you are changing. Type a higher number than the existing number to move the layer up in the stacking order, or type a lower number to move the layer down in the stacking order. To change the stacking order of layers using the Property inspector: 1. Choose Window > Others > Layers to open the Layers panel to see the current stacking order. 2. Select a layer in the Layers panel or in the Document window. 3. In the layer Property inspector, type a number in the Z-index text box. • Type a higher number to move the layer up in the stacking order. • Type a lower number to move the layer down in the stacking order. |
| Changing layer visibility While working on your document, you can show and hide layers manually, using the Layers panel, to see how the page will appear under different conditions. Note: The currently selected layer always becomes visible and appears in front of other layers while it's selected. To change layer visibility: 1. Choose Window > Others > Layers to open the Layers panel. 2. Click in the eye-icon column for a layer to change its visibility. • An open eye means the layer is visible. • A closed eye means the layer is invisible. • If there is no eye icon, usually the layer inherits visibility from its parent. (When layers are not nested, the parent is the document body, which is always visible.) Also, no eye icon appears when no visibility is specified (which appears in the Property inspector as Default visibility).To change the visibility of all layers at once: 1. Choose Window > Others > Layers to open the Layers panel. 2. Click the header eye icon at the top of the column |


| On your same web page, recreate the three circles above with hearts in front, orange behind, and yellow on the bottom. Believe me it will be easier if your keep the layer visibility option open and ocassionally change the visibility to figure what layer contains what image. Make sure you name your layers! |
Using tables and layers for layout NOTE: Because table cells cannot overlap, Dreamweaver cannot create a table from overlapping layers. If you plan to convert the layers in a document to tables for compatibility with 3.0 browsers, use the Prevent Overlap option to constrain layer movement and positioning so that layers don't overlap. |
Animating your layers Using the Timelines panel Timeline pop-up menu specifies which of the document's timelines is currently
displayed in the Timelines panel.
|
| Frame numbers indicate the sequential numbering of frames.
The number between the Back and Play buttons is the current frame number.
You control the duration of animation by setting the total number of frames
and the number of frames per second (fps). The default setting of
15 frames per second is a good average rate to use for most browsers
running on common Windows and Macintosh systems. Note: Faster rates may not improve performance. Browsers always play every frame of the animation, even if they cannot attain the specified frame rate. The frame rate is ignored if it is higher than the browser can manage. Context menu contains various timeline-related commands. Behaviors channel is the channel for behaviors that should be executed at a particular frame in the timeline. Animation bars show the duration of each object's animation. A single row can include multiple bars representing different objects. Different bars cannot control the same object in the same frame. Keyframes are frames in a bar where you have specified properties (such as position) for the object. Dreamweaver calculates intermediate values for frames in between keyframes. Small circles mark keyframes. Animation channels display bars for animating layers and images. |
Moving a layer using a timeline animation |

4. Choose Modify > Timeline > Add Object to Timeline
or simply drag the selected layer into the Timelines panel. 7. If you want the layer to move in a curve as above, select its animation
bar and Control-click (Windows) or Command-click (Macintosh) a frame in
the middle of the bar to add a keyframe at the frame you clicked, or click
a frame in the middle of the animation bar and choose Add Keyframe from
the context menu. |
Modifying timelines
|


| TO DO 4. Create a combination of two balls along two different pathways! After watching this a while you realize how irrating this can become.. so usually you do not use loops.. but just start a single download once..over an extended amount of time by moving the frame to a later timeline moment. |
........