InterviewSolution
Saved Bookmarks
| 1. |
How to find the coordinates of the cursor relative to the screen with JavaScript? |
|
Answer» The onabort EVENT is executed when the loading of an image is aborted. Use it in an image TAG like this: <img src="demo_image.jpg" onabort="display()">Here, you can display an alert when the loading of image ABORTS: function abortFunc() { alert('Image isn’t loading!'); } |
|