What I'm working on is a traffic exchange and I need to open a new window and change the URL every X seconds of that window.
Here is what the script should do :
There are two pages and one button:
PAGE ONE, PAGE TWO and BUTTON1
When I click on BUTTON1 the current page will redirect tot PAGE ONE and at the same time open a new window ( t's important not to be a POP-UP so it wont be blocked by the POP-UP blocker )
On PAGE ONE I iframe PAGE TWO.
When PAGE TWO is loaded ( this happens when PAGE ONE is accessed, opened by BUTTON1 ) it should update the URL of the window we open earlier with a link that is selected randomly from database.
After 15 seconds, PAGE TWO will automatically refresh AND it will change the URL in the window we open earlier.
If you have any questions feel free to contact me.
I can provide an example of code and a live demo if required. ( Current version that I have it has some glitches and I really need an upgrade )