i used js image object to preload image, and on onload event to do something else. but for animate d gif this is an issue in IE 7, where onload event keep firing.
var image = new Image();
image.onload = somefunction;
image.src = someurl;
for ie 7, somefunction keeps firing for this animated gif. what to do to prevent this?