When using jQuery you wait for the DOM to be ready before you start doing stuff. My problem is with images.
Sometimes images take ages to load, and quite frequently not at all. So I want ready() to basically have a timeout. It will wait something like 5 seconds and if these selected images haven't loaded it will run the function.
Is this possible?