
More JavaScripts Pagedetails
Get 404 Referrer | Arrow Links | Bookmark Us Link | Close A Window | Closing Windows | Color Chart | Date Time Stamp | Animated GIF Begins | DOM Browser | Drag Move Images | Email Protector | Fake Counter | Following Floating Link | Box Focus Onload | Captures Highlighted | Image Sized Window | Image Fails To Load | Link Of The Minute | Floating Logo | Menu Branding | Display Mouse X - Y | Mouse Orbit | Mouse Bubbles | No Right Click | Page Extension Types | Automatic Page Scroller | Number Of Seconds | Screen Resolutions | Right Click Menu | Roman Numerals | Make Homepage Link | Thumbnail Viewer | Time Greeting | Time On Page | Window Print Link
Description
Notifies the user is an image on your site fails to load properly or if it is aborted when loading. Definitely an excellent example of the onAbort and onError image event handlers in use. Please note that in the script example we intentionally included a broken image that fails to load properly to display the script in use....View A Script Demo
Notifies the user is an image on your site fails to load properly or if it is aborted when loading. Definitely an excellent example of the onAbort and onError image event handlers in use. Please note that in the script example we intentionally included a broken image that fails to load properly to display the script in use....View A Script Demo
Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function imageError(theImage) {
msg = 'Error: The ' + theImage.name + ' image did not load properly.\n\n' +
'The image failed to load from URL:\n' + theImage.src + '\n\nPlease hit ' +
'click reload in your browser to try again.';
alert(msg);
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR>
Please note that in the script example we intentionally included a 'broken image' that fails to load properly to display the script in use.
<BR><BR>
<img name="logo" src="missing-logo.jpg" border=2 onError="imageError(this)" onAbort="imageError(this)"><br>
(We caused this image not to load on purpose!)
</center>
</BODY>
</HTML>
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function imageError(theImage) {
msg = 'Error: The ' + theImage.name + ' image did not load properly.\n\n' +
'The image failed to load from URL:\n' + theImage.src + '\n\nPlease hit ' +
'click reload in your browser to try again.';
alert(msg);
}
// End -->
</script>
</HEAD>
<BODY Background=../graphics/grayback.jpg>
<center><BR>
Please note that in the script example we intentionally included a 'broken image' that fails to load properly to display the script in use.
<BR><BR>
<img name="logo" src="missing-logo.jpg" border=2 onError="imageError(this)" onAbort="imageError(this)"><br>
(We caused this image not to load on purpose!)
</center>
</BODY>
</HTML>
If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail

