ups,
wegen der "dynamischen" quelle des iframes is mir grad nen kleiner gedankenblitz gekommen ;)): ich kann ja das attribut 'name="deinFrame"' im iframe-tag setzen.. sry...
gut.. syntax sieht nun so aus (mit einer statischen reload-time):
###############
<html>
<head>
<title>Reload + URL Array Test</title>
<script language="Javascript">
<!--
var countdown = 20;
function doCount()
{
if (countdown > 0){
countdown--
}
else{
var mein_array = new Array("http://www.google.de","http://www.lycos.de");
deinFrame.href = mein_array[i];
i++;
}
var s = countdown;
var h = Math.floor(s/3600);
var m = Math.floor((s - (h * 3600))/60);
s = (s-(h*3600))%60
window.document.title=h+":"+m+":"+s+ " bis zum nächsten Reload"
window.setTimeout('doCount()',1000)
}
doCount();
//-->
</script>
</head>
<body>
<b>Reload + URL Array Script</b><p>
<iframe name="deinFrame" width="99%" height="99%"></iframe>
</body>
</html>
###############
zumindest läuft der countdown wieder im title, aber es passiert leider nix mehr wenn der countdown auf 0 ist :/
Test-Script hier: http://opelmanni.piranho.com/Test/Reload_Linkarray_Test.html
____________________
als ich dann das array ganz am anfang vom js gesetzt hab, und in der funktion wieder deinFrame.href="http://www.google.de" geschrieben, war auch kein countdown mehr im titel
Dieses script ist das hier:
http://opelmanni.piranho.com/Test/Reload_Linkarray_Test_2.html