Menu
Hello,
I have a code that works great for clicking a button and getting a random pop up page, I am trying to adjust the code to change it from a pop up page to have it go to random pages within the current page on click, any suggestions?
Code:
<!– Begin
function go_to(url) {
window.open(url,””, “height=670,width=550”);
}
function rand_link() {
var a;
a = 1+Math.round(Math.random()*3); // a = random number between 1-3
if (a==1) go_to(“
if (a==2) go_to(“
if (a==3) go_to(“
}
// End –>
thanks, Dennis