Of course it happends only under NS4x, not on IE.
So I'll try this as soon as possible.
Thanks a lot !
Nicolas
Michael Pemberton wrote:
While jordi wishes he has the time, I wish I had the answer. : )I don't think that IE recycles layers. IE should always be using new elements and as such should never have such a problem.
changing lines 121 / 122 from
if (!this.parent.doc.recycled) this.parent.doc.recycled=[];
this.parent.doc.recycled[this.parent.doc.recycled.length]=this.elm;to
if (!this.parent.doc.recycled) this.parent.doc.recycled=[];
this.parent.doc.recycled[this.parent.doc.recycled.length]=this.elm;
this.elm.background.src="null;
this.doc.bgColor=null;seems to work (sort of). It appears to cause a problem with the layer then becoming bugged so that as windows are dragged over it (any windows app for eg.), they become shadowed here.
I think that is a step in the right direction, it may include too large a step backwards to be considered a solution yet though.
Nicolas MASSART wrote:
Hi!--I've got problem on both NS and IE about layer bgColor when recycling
layer.
If the recycled layer is made about an old layer that had a bgColor or a
bg image, this properties are not refreshed.
For example, when I want to creat a new transparent layer (without
BgColor), if DynAPI recycle a layer with had a black BgColor, it keeps
this color and my layer is not transparent.Any idea about this ?
Thanks,
Nico_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
