Sebastian Becker: timer trouble

Beitrag lesen

Hallo, Joe,

Ich glaube dein Problem liegt darin, dass das Ereignis onLoad nicht für das image Tag definiert ist (siehe auch Selfhtml), Onerror hingegen schon

Angeblich ist es doch für "img" definiert:

onload Event
Fires immediately after the browser loads the object.

The browser loads applications, embedded objects, and images as soon as it encounters ... img objects during parsing. Consequently, the onload event for these objects occurs before the browser parses any subsequent objects.

To ensure that an event handler receives the onload event for these objects, place the script object that defines the event handler before the object and use the onload attribute in the object to set the handler.
<<

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events/onload.asp

Ich werd' mal weiter testen ...

Grüße,

Sebastian