johndenny
asked on
image onload event
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?
thanks
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?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I bet it is setting the src to something else :)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.