¡@

Home 

2014/10/16 ¤W¤È 12:02:32

jquery Programming Glossary: colorproperties

JavaScript: Invert color on all elements of a page

http://stackoverflow.com/questions/4766201/javascript-invert-color-on-all-elements-of-a-page

'script' s.src src s.onload callback document.getElementsByTagName 'head' 0 .appendChild s function invertElement var colorProperties 'color' 'background color' var color null for var prop in colorProperties prop colorProperties prop if this .css prop continue.. 0 .appendChild s function invertElement var colorProperties 'color' 'background color' var color null for var prop in colorProperties prop colorProperties prop if this .css prop continue if this .data prop this .css prop continue if this .css prop 'rgba.. invertElement var colorProperties 'color' 'background color' var color null for var prop in colorProperties prop colorProperties prop if this .css prop continue if this .data prop this .css prop continue if this .css prop 'rgba 0 0 0 0 ' this .css prop..