Iframe reload nach 5 Minuten
Hallo Community,
ich versuche gerade ein <iframe> dazu zu bringen das es alle 5 Minuten sich selbst neuläd.
Leider funktioniert das ganze nicht und ich google mich zu tode und komme nicht weiter. Ich hoffe es kann mir hier jemand helfen.
Gruß
ich versuche gerade ein <iframe> dazu zu bringen das es alle 5 Minuten sich selbst neuläd.
<iframe frameborder="0" width="50%" height="250" scrolling="no" src='http://www.dwd.de/DWD/warnungen/warnstatus/SchilderSU.jpg' height="250" name='dwd' onload="dwd.setTimeout(function(){ dwd.location.reload();}, 5000);">
Leider funktioniert das ganze nicht und ich google mich zu tode und komme nicht weiter. Ich hoffe es kann mir hier jemand helfen.
Gruß
Please also mark the comments that contributed to the solution of the article
Content-Key: 327094
Url: https://administrator.de/contentid/327094
Printed on: April 19, 2024 at 19:04 o'clock
3 Comments
Latest comment
Servus,
Grüße Uwe
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Demo iFrame reload every 10 seconds</title>
</head>
<body>
<iframe frameborder="0" width="50%" height="250" scrolling="no" src="http://www.dwd.de/DWD/warnungen/warnstatus/SchilderSU.jpg" name="dwd" onload="frm = this; window.setTimeout(function(){frm.src = frm.src + '?' + (new Date()).getTime();},10000);" />
</body>
</html>