Sunday, June 17, 2012

show image only when completely loaded

several times big images take time to load, and image appear partially when loadin.
Now the client want a fade in effect and don 't want this partial rendering.
In order to ensure image load whether it is cached in browser or not we can use following method.Use onload method of image.





No comments:

Post a Comment