Forum Moderators: open
It needs to load the page within the current page (I've seen it done using iFrame but guess there are probably other ways. Some online photo galleries use similar functionality)
eg. loading pages from multiple different sites, sequentially on each page load
[server1.com...]
[server2.com...]
[serveradb.com...]
[serverueeueueu.com...]
Thank you
[blue]-- markup ---
[/blue]<!-- give name & id to frame --><iframe id="inner" name="inner" width="400" height="400"></iframe>
[blue]-- script ---[/blue]
var urls =
[
'www.example1.com',
'www.example2.com',
'www.example3.com'
];var iCurr = -1;
var timer = setInterval("loadPage()", 7000)
function loadPage()
{
var frameWin = document.frames¦¦window.frames;
frameWin.inner.location = 'http://'+ urls[++iCurr];
if(iCurr==urls.length)
clearTimeout(timer);
}