URL=new Array("http://www.meine.domain.de/hallo.html");
URL=new Array("http://www.meine.zweitedomain.de/2te.html");
var URL = new Array("http://www.meine.erstedomain.de/1te.html", "http://www.meine.zweitedomain.de/2te.html")
for (i=0; i < URL.length; ++i)
{
parent.location.inhalt.href=URL[i];
}
mit der Schleife kommst du hier nicht zu dem gewünschten Effekt, da du die Verzögerung da so nicht reinbekommst. Meine Idee wär:
var i = 0;
function anf()
{
if(i < URL.length)
{
parent.location.inhalt.href = URL[i];
++i;
window.setTimeout("anf()", 5000);
}
}
--
life's for the living. so check me tomorrow [Matthew Good Band]
life's for the living. so check me tomorrow [Matthew Good Band]