Can Some Customize This Script please
-
<script>
<!–
/*
*///specify random links below. You can have as many as you want
var randomlinks=new Array()randomlinks[0]=”https://facebook.com”
randomlinks[1]=”https://gmail.com”
randomlinks[2]=”https://yahoo.com”
randomlinks[3]=”https://cnn.com”
randomlinks[4]=”https://www.geocities.com”function randomlink(){
window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)]
}
//–>
</script>
<form method=”post”>
<p><input type=”button” name=”B1″ value=”Button >>” onclick=”randomlink()”></p> </form><!–Uncomment below to use a regular text link instead
Random Link
–>i have this script which open any random link everytime when user click on a button but i want to to customize script like this.
like when user click 1st time on a button then 1st website will be open in new page
and when same user click Second time on a button then 2nd website will be open in new page
and When same user click Third Time on a button then Main Destination Page Will be open.
- The topic ‘Can Some Customize This Script please’ is closed to new replies.