Using snapshot 2001_09_30.
On IE5/NT, the attached file triggers an exception
of "this.doc.images[....] is null or not an object"
in dynimage, line 71.
On NS4.7, no exception is triggered but the beahvior
is clearly incorrect.
after applying the following chancge to dynimage.js:
--- dynimage.js Tue Oct 16 11:19:42 2001
+++ dynimage.js~ Thu May 03 19:47:18 2001
@@ -68,9 +68,6 @@
this.setHTML('<img
name="'+this.id+'Image" src="'+imgObject.src+'"'+wh+'
border=0>');
}
else if (this.created) {
- if(!this.doc.images[this.id+'Image']) {
- this.doc.images
[this.id+'Image']=new Image();
- }
this.doc.images[this.id+'Image'].src =
this.img.src;
}
};
@@ -136,4 +133,4 @@
DynImage.timerId=null;
}
};
the exception disappears, however, the behavior is
incorrect (layer is blanked and alternate content not
displayed.)
Click on the links to trigger the bug.