Testing Image onload Event Handler
Github has cool feature which enables you to host your web page. The benefits of this, that it saves time (instead of renting\hosting your own server) by letting you publish your web page using GitHub Pages.
On the right we have the simple test case example which I have created. The Image that we are testing with is the torch. When clicking on the button below it will call the onload event handler which will set the image with the same source file , if this succeeds, then the torch will light up. The example on the right were tested on Opera Browser.