Version compl�te: jsB@nk » » Random bouton
URL: https://www.javascriptbank.com/random-link-button.html
Un moyen facile d'envoyer instantanément le visiteur à une page HTML aléatoire. Il suffit de cliquer sur le bouton au hasard et que vous avez terminé.
Version compl�te: jsB@nk » » Random bouton
URL: https://www.javascriptbank.com/random-link-button.html
<script><!--//specify random links below. You can have as many as you wantvar randomlinks=new Array()randomlinks[0]="#"randomlinks[1]="#"function randomlink(){alert('This is demo only');//window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)]}//--></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<form><p><input type="button" name="B1" value="Random Link >>" onclick="randomlink()"></p> </form><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->