I tried to do something like this once before, with unpredictable
results.

Part of the problem this works better in Netscape, I think, is because
Image is decended from Object, like almost all DHTML objects in NS.  IE,
on the other hand, has different top-level DHTML objects, so Image may
not have an editable protoype.

Just a guess, though.

scottandrew

"Bürge, Michael" wrote:
> 
> is there a way in IE to extend a browserdefined object?
> i tried to do something like this:
> MyImage = function() {
>     this.superClass = Image;
>     this.superClass();
> }
> MyImage.prototype = new Image;
> ...but it didn't inherit anything.

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

Reply via email to