> I need a function that every 5 seconds a different web page will be
called.
Where is a good reference to local something similar to this?
You may try to make it like this:
<html>
<body>
<iframe id="frameId" width="100%" height="100%" frameborder="0"
scrolling="auto"></iframe>
<script type="text/javascript">
var urlArray = new Array();
// Array of urls to rotate through
urlArray[0] = 'http://www.google.com';
urlArray[1] = 'http://www.google.de';
urlArray[2] = 'http://www.google.fr';
var urlCounter = 0;
function goToUrl() {
var idx = urlCounter % urlArray.length; //which index of urlArray to use
urlCounter ++;
document.frames['frameId'].location.href = urlArray[idx];
}
var interval = setInterval("goToUrl()",5000);
</script>
</body>
</html>
Of course this is just an examle, but I Hope this will put you on the right
track