fail
01-20-2012, 01:50 AM
I do write some php, but have not much idea about JavaScript.
I use window.open to open 10 pages simultaneously. I prefer to open them with a time delay from each other to put less load on the target server. This is my code with no delay. (I played around with setTimeout but can't get it to work.)
<a href='http://www.".$new[9]."'
onclick=\"window.open('http://www.".$new[0]."/');
window.open('http://www.".$new[1]."/');
window.open('http://www.".$new[2]."/');
window.open('http://www.".$new[3]."/');
window.open('http://www.".$new[4]."/');
window.open('http://www.".$new[5]."/');
window.open('http://www.".$new[6]."/');
window.open('http://www.".$new[7]."/');
window.open('http://www.".$new[8]."/')\" target='new300/'>Open 10</a>
I use window.open to open 10 pages simultaneously. I prefer to open them with a time delay from each other to put less load on the target server. This is my code with no delay. (I played around with setTimeout but can't get it to work.)
<a href='http://www.".$new[9]."'
onclick=\"window.open('http://www.".$new[0]."/');
window.open('http://www.".$new[1]."/');
window.open('http://www.".$new[2]."/');
window.open('http://www.".$new[3]."/');
window.open('http://www.".$new[4]."/');
window.open('http://www.".$new[5]."/');
window.open('http://www.".$new[6]."/');
window.open('http://www.".$new[7]."/');
window.open('http://www.".$new[8]."/')\" target='new300/'>Open 10</a>