hmm...
hab das script nach deinen vorgaben verändert... hoffe ich hab dich da richtig verstanden :))
#################
<html>
<head>
<title>Reload + URL Array Test</title>
<script language="Javascript">
<!--
var mein_array = new Array("http://www.google.de","http://www.lycos.de");
deinFrame.href = mein_array[i];
i=i+i;
var countdown = 20;
function doCount()
{
if (countdown > 0){
countdown--
}
else{
deinFrame.href="http://www.google.de";
}
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 src="http://www.google.de" width="100%" height="800"></iframe>
</body>
</html>
#################
wie vorgegeben: -> location.reload(); <- mit -> deinFrame.href="http://www.google.de"; <- ersetzt, und das alte array mit dem reloadzeiten, mit dem link-array ersetzt.
Das Testscript hier: http://opelmanni.piranho.com/Test/Reload_Linkarray_Test.html
leider läuft jetzt gar kein Countdown mehr im titel... ausserdem: wie weis das iframe, das es nun quasi eine dym. source haben soll?
Thx :)