Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1405 Is there a Netscape Navigator alternative for Internet Explorer's 'complete' property?

irt.org | Knowledge Base | JavaScript | Image | Q1405 [ previous next ]

Q1405 Is there a Netscape Navigator alternative for Internet Explorer's 'complete' property?

Yes: complete

Supported since Netscape Navigator 3 - yet in Netscape Navigator 4 - "provides an incorrect true reading before the image has completely loaded"

You can create your own image complete property though:

<img name="myImage" src="test.gif" onLoad="this.myComplete=true">

<form>
<input type="button" value="test" onClick="if (document.myImage.myComplete) alert('image loaded'); else alert('image not loaded')">
</form>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.