Сообщение от exec
|
Object.prototype.getCSSProperty = function (prop) {
return window.getComputedStyle( this, null )[prop] || this.currentStyle[prop];
};
document.links[0].getCSSProperty('marginLeft');
|
В prototype не разбираюсь вообще. Полегче что-нибудь предлагайте, как никак это вопрос начинающего...