¡@

Home 

javascript Programming Glossary: strcssrule

JavaScript get Styles

http://stackoverflow.com/questions/4172871/javascript-get-styles

the last article here is a function function getStyle oElm strCssRule var strValue if document.defaultView document.defaultView.getComputedStyle.. oElm .getPropertyValue strCssRule else if oElm.currentStyle strCssRule strCssRule.replace w g.. .getPropertyValue strCssRule else if oElm.currentStyle strCssRule strCssRule.replace w g function strMatch p1 return p1.toUpperCase..

Getting actual height of an auto-heighted element in IE

http://stackoverflow.com/questions/692523/getting-actual-height-of-an-auto-heighted-element-in-ie

will. please take a look at this function getStyle oElm strCssRule var strValue if document.defaultView document.defaultView.getComputedStyle.. oElm .getPropertyValue strCssRule else if oElm.currentStyle strCssRule strCssRule.replace w g.. .getPropertyValue strCssRule else if oElm.currentStyle strCssRule strCssRule.replace w g function strMatch p1 return p1.toUpperCase..