[Prototype-core] writeAttribute 'style' in IE 7

2009-04-30 Thread bazikch
Hello, I'm trying to do the following: $(el).writeAttribute('style', $(elParent).readAttribute('style')); Everything is going fine until I try to clone the el position (#clonePosition). IE throws the error: 'style' is null or not an object on line 2271 (#Element.Methods.getStyle). The strange

[Prototype-core] Re: writeAttribute 'style' in IE 7

2009-05-01 Thread bazikch
ution, using your direct copy of the object's (CSSStyleDeclaration) properties when #clonePosition crashes in IE. On May 1, 12:37 am, kangax wrote: > On Apr 30, 10:13 am, bazikch wrote: > > > Hello, > > > I'm trying to do the following: > > $(el).writeAttr