PANGDU 胖嘟
楊景皓的工作日記: linux, debian, mysql, vim, php, javascript, python
Sunday, February 6, 2011
javascript checking if image is fully loaded
img = new Image();
img.src = "path_to_your_image.jpg";
img.onload = function() { some_action();};
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment