thomas91
Goto Top

Iframe reload nach 5 Minuten

Hallo Community,

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ß

Content-Key: 327094

Url: https://administrator.de/contentid/327094

Printed on: April 19, 2024 at 19:04 o'clock

Member: michi1983
Solution michi1983 Jan 21, 2017 updated at 12:10:23 (UTC)
Goto Top
Hallo,

hier wird doch schön beschrieben wie das geht.

Gruß
Member: Thomas91
Thomas91 Jan 23, 2017 at 07:33:07 (UTC)
Goto Top
Ich bekomme es leider nicht zum laufen =(

<?php 

<meta http-equiv="Refresh" content="500">  

<tr height="100%">  
<td align="center" valign="middle">  
<iframe src="http://www.dwd.de/DWD/warnungen/warnstatus/SchilderSU.jpg" width="50%" height="250" frameborder="0" scrolling="no" name='iframe_dwd' onload="iframe_review.setTimeout(function(){ iframe_review.location.reload();}, 30000);">  

</td>
</tr>

</table>

?>
Member: colinardo
Solution colinardo Jan 23, 2017 updated at 10:48:37 (UTC)
Goto Top
Servus,
<!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>
Grüße Uwe