Changes

Jump to: navigation, search

JavaScript and CSS - Dynamic Styles and Layers

1 byte added, 15:34, 5 October 2007
Making Basic Dynamic Style Changes
== Making Basic Dynamic Style Changes ==
The W3C DOM (Document Object Model) provides a powerful mechanism for dynmically dynamically controlling the styles used in a web page. Using JavaScript the style of any element can be changed via the properties of that element's ''style'' object.
Suppose we have the following HTML:

Navigation menu