1.2 | Overlapping Layers |
Layers have the name they do because they can be overlapped like transparent sheets of paper. You have to be aware of the stacking order. By default, layers are stacked in the order you define them. Whichever layer you define first, will be on the bottom. But you can override this by using the Z-INDEX attribute in the layer tag. You could set one layer to have a Z-INDEX=1 and then later you could assign another layer to have a Z-INDEX=0 so that it's below the other layer.
Some examples:
Look at the source code an any of these to see exactly how they were done done.
1.1 Introduction
1.2 Overlapping 1.3 Nesting 1.4 Using JavaScript |
2.1 Sliding Layers
2.2 Pre-Built Functions 2.3 Clipping Layers 2.4 Looping Animations 2.5 Changing Images |
3.1 Mouse-Click Animation
3.2 Capturing Keystrokes 3.3 Drag and Drop 4.1 Making Demos 4.4 Problems 4.5 Screen Sizes |
|