You are here: irt.org | FAQ | JavaScript | Image | Q1628 [ previous next ]
If you preload the image it will have played by the time it is loaded, therefore Use this to retrigger it:
<body onLoad="if (document.images) document.images['animimg'].src = 'animation.gif?' + Math.random()">