Script Categories













Buttons Effects >>> Random link.

Check out this random link generator! It randomly selects a URL from a pre-determined list and sends the user there!

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function go_to(url) {
window.location=url;
}
function rand_link() {
var a;
a = 1+Math.round(Math.random()*3);   // a = random number between 1-3
if (a==1) go_to("http://www.yaldex.com");
else
if
(a==2) go_to("../JSFactory_Pro.htm");
else
if (a==3) go_to("../JSFactory.htm");
else go_to("../JSFactory_Pro.htm");
}
// End -->
</script>
<center>
<FORM NAME="myForm">
<INPUT
TYPE="button" NAME="myButton" VALUE="Random link"
onClick="rand_link()">
</FORM>
</center>

Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

http://www.cashadvance-loans.net/florida/cash-advance-orlando-fl/


©