Showing posts with label window. Show all posts
Showing posts with label window. Show all posts
Saturday, July 25, 2009
jQuery execution after image load
If you need to run JavaScript that's based on some attribute of a loaded image (e.g. height or width), use a callback with $(window).load() instead of $(document).ready().
Subscribe to:
Posts (Atom)