Changes

Jump to: navigation, search

JavaScript and CSS - Dynamic Styles and Layers

344 bytes added, 19:03, 17 May 2007
Using 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.
Layers are definmed defined using the <nowiki><div> and <iframe></nowiki> tags. The <nowiki><div></nowiki> tag is used to define blocks of content that are contained with the current web page. In contrast the <nowoki><iframe></nowiki> tag is used when the content is to loaded from another HTML file. In this exmaple we will look at the <nowiki><div></nowiki> tag but the concepts are the same for nowoki><iframe></nowiki>.

Navigation menu