Quote:
Originally posted by eru
If a surfer goes to site A, but then exits, I want EITHER site B OR C to pop up -- not both.
|
Code:
sites = Array();
sites[0]="http://server1.com/";
sites[1]="http://server2.com/";
function popExit(){
window.open(sites[Math.round(Math.random()*(sites.length-1))]);
}
cheers