function(node, name){
    var style = node.currentStyle ? node.currentStyle : window.getComputedStyle(node, null);
    return style[style.getPropertyValue ? 'getPropertyValue' : 'getAttribute'](name);
  }
function(node, name){
    var style = node.currentStyle ? node.currentStyle : window.getComputedStyle(node, null);
    return style[style.getPropertyValue ? 'getPropertyValue' : 'getAttribute'](name);
  }
function ( node , name ) { var style = node . currentStyle ? node . currentStyle : window . getComputedStyle ( node , null ) ; return style [ style . getPropertyValue ? 'getPropertyValue' : 'getAttribute' ] ( name ) ; }
获取节点的style属性值
获取节点的style属性值