I don't think the removeNode is even supported by IE. It will not be
in the next release anyways.

-- 
Robert Rainwater


On 3/5/2001, 5:46:53 PM EST, Darryl wrote about "[Dynapi-Help] deleteChild() IE5":

> Thanks Eytan,

> I found two functions that contained removeFromParent and I commented out
> both (to try):

> DynLayer.prototype.removeFromParent=function() {
>         if (this.parent!=null) this.parent.removeChild(this);
> };

> and this one:

> DynLayer.prototype.deleteFromParent=function() {
>         this.parent.deleteChild(this)
> };

> No change to the problem (NS still OK), but it gave me a clue and I
> commented out this line:

> //      if (is.ie5 && is.platform=="win32" && dlyr.elm.children.length>0)
> dlyr.elm.removeNode(true);

> from DynLayer.deleteElement()

> That worked!! Just gotta found out why my layers don't redraw correctly :)

> BTW win98/IE5

> Blessings, Darryl


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Eytan
> Heidingsfeld
> Sent: Monday, March 05, 2001 1:53 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Dynapi-Help] deleteChild() IE5


> This is the famous access violation I was talking about. It happens
> somtimes. I think it may have to do with the splicing or I also found that
> if you delete the line that contains removeFromParent this is solved. I will
> look into it soon(I'm working on a cool widget now)
> 8an


> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to