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.
The following also doesn't work: Image.prototype.somemethod = function()
{ somecode }
I came to the conclusion that native constructors in ie do not have a
prototype property.
So if somebody tells me this sort of thing isn't possible: fine, i won't
spend any more time on it.
If it is possible: please tell me how!
--
Michael Buerge
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev