Thu May 03, 2012 12:21 pm
Hello ,
I want to create a code that opens a number of links and after a time it closes them . I think i made that :
javascript : var url101='urlname';setTimeout(function() {var w101 = (window.open(url101)},10000);setTimeout (function() {w101.close()}, 75000);
var url102='urlname';setTimeout(function() {var w102 = (window.open(url101)},10000);setTimeout (function() {w102.close()}, 75000);
var url103='urlname';setTimeout(function() {var w103 = (window.open(url101)},10000);setTimeout (function() {w103.close()}, 75000);
var url104='urlname';setTimeout(function() {var w104 = (window.open(url101)},10000);setTimeout (function() {w104.close()}, 75000);
var url105='urlname';setTimeout(function() {var w105 = (window.open(url101)},10000);setTimeout (function() {w105.close()}, 75000);
But what do i have to do if i want , for example , to open first 3 , after some time auto close them and after the first 3 close the other 2 will open and after some time they also close ? Because my first code opens all 5 five at once ...
Thanks
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.