Javascript Detect an href change?

I'm guess that when say you background, what you're refering to is a background image. I don't believe there are any Javascript events related to background image loading that will accomplish the effect you mentioned. The jQuery onReady and load functions allow you to bind to the document itself, and will only fire once the entire page and all its external resources have loaded.

However, this might help.

I'm guess that when say you background, what you're refering to is a background image. I don't believe there are any Javascript events related to background image loading that will accomplish the effect you mentioned. The jQuery onReady and load functions allow you to bind to the document itself, and will only fire once the entire page and all its external resources have loaded.

However, this might help: Image onload for static images.

I think a more direct route may be to load your image in an tag in your jQuery script and handle the onerror event. This way you can still set the background the way you are currently but this will allow you to determine programmatically if the image path is valid. Example on handling the onerror event for an image jQuery/Javascript to replace broken images edit: here's an example of how to use images to detect errors jsfiddle.net/DHEqe/35.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions