The script below creates a hyperlink directing the visitor to an address chosen at random from a list.
The code below is to be inserted between the tag and <HEAD> </ HEAD> to top:
Url = new Array;
base = "http://ccm.net/";
Url = "index.php3";
Url = "wifi";
Url = "php";
Url = "forum/";
Linkchoice = Math.round(Math.random() * (Url.length+1));
window.open(base + Url[Linkchoice],'_blank');
The code below is to be inserted in the body of the page (somewhere between the tags and <BODY> </ BODY>) to display the link:
<A Href="#" onClick="RandomLink(); return(false)">RandomLink</A>
Published by hyts78
Latest update on June 8, 2011 at 08:01 AM by jad05.