Js in the application css style

Related Tags:

  There are two ways: 

  1, a pre-defined css rules, and then use this.className =''". 
  2, with cssText, as follows: 

  Document.getElementById ( "dd"). Style.cssText = "background-color: red;"; 




Related articles:

Use Dreamweaver easily personalized mouse pointer
  When browsing the network, we can often be found in a Web site of the mouse is very unique, and some even one or animation.    In Dreamweaver MX 2004 can be very easy to achieve these results.    Effect Note: When the mouse to move to the web pages, the shape of the mous...
The study suggested ways of creating web pages
  ■ Site proposed learning on the front page in one breath the type of website technology, a tool for the development of web pages and common image processing tools, is not in front of what must have everything?    The answer of course is "no".    Web production i...
Flash mouse effects: the production of flexible framework
  Send in the handbook before, I would like to thank a classic interview with him on a mathematical formula-editing software MATHTYPE, I wrote this guide has been greatly help. 1:00 but who can not remember, and could not find. If found, I will definitely publishing his name to show gratitude....
Beginners FLASH Essentials
  As we all know, FLASH technology and the flow control vector technology at the core, to produce animated features with Duanxiaojinghan, are widely used in Web animation design, the Internet has become the most popular Web animation software.    Well, not that nonsense, to the quest...
On the simple understanding of XHTML
  HTML is used to create a modern, structured, the site compatible with the standard.    However, in order to achieve clean semantics of the code change, and for the future of XML and other markup language prepared to recommend the use of XHTML1.0 Strict to create the new site, with ...