Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
i am working on traffic exchange website need little help on two points.

When user click on surf button then it will get urls from DB and start showing them in popup window now the problem i am having is that how i can get next url from DB as i cant get all as there can be more then 10K+ and also next url should open in same popup and how to add points into user account after countdown to 0seconds.
Posted

1 solution

JS function to set time interval:
C#
function open_win() {
    window.open("x.com");
    setTimeout("window.open('y.com')",60000);
    setTimeout("window.open('z.com')",120000);
}

This will open x.com then after one minute y.com and after two it should open z.com.
 
Share this answer
 
Comments
WaqasCheema 21-Nov-12 15:40pm    
this will not work ..
you can use this for few urls only

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900