2 Antworten

Wie kann ich ein Iframe automatisch aktualisieren lassen?

Javscript:

setTimeout(function(){
document.getElementById('frame1').contentWindow.location.reload();
document.getElementById('frame2').contentWindow.location.reload();
document.getElementById('frame3').contentWindow.location.reload();
document.getElementById('frame4').contentWindow.location.reload();
}, 5000);

HTML:

<iframe id="frame1" src = ... >
<iframe id="frame2" src = ... >
<iframe id="frame3" src = ... >
<iframe id="frame4" src = ... >

Alex