Dynamic Modification Of CSS Class Properties
Join the DZone community and get the full member experience.Join For Free
Modifying the rendering of an element with an ID is relatively easy using document.getElementById. Modifying the attributes fo an entire class dynamically is a little more code, but the DOM does provide the means to do it through the stylesheet object; with some cross-browser variations. For additional CSS and HTML see some of the full length articles Written by IT professionals from Experts Round Table
Fragmentclick herehello world. All of your bases are belong to us.