Changes

Jump to: navigation, search

JavaScript and CSS - Dynamic Styles and Layers

393 bytes added, 19:42, 17 May 2007
Using overlying Layers
</pre>
== Using overlying Overlying Layers ==
In addition to hiding and showing elements in a web poage sit is also possible to position elements so that they overlap. JavaScript can then be used to control which element appears on top of the other layers.
</pre>
 
== Moving Layer Positions ==
 
Now that we have covered some more of the basics of layers wer can now look some basic animation, speficially moving the position of layers dymanically.
 
Again we will use our previous example and thsi time we will write some JavaScript to change the position of Layer 2 when a button is pressed, essentially causing the layer to move across the browser window.

Navigation menu