»
AnglaisFran�aisVietnamien

Imprimer - Radio Button Links - JavaScriptBank.com

Version compl�te: jsB@nk » Snippet » Radio Button Links
URL: https://www.javascriptbank.com/radio-button-links.html

Radio Button Links © JavaScriptBank.comUtiliser forme radio boutons comme des liens hypertextes ou mail. Rapide et facile d'ajouter un unique JavaScript navigation de style à votre site!

Version compl�te: jsB@nk » Snippet » Radio Button Links
URL: https://www.javascriptbank.com/radio-button-links.html



JavaScript
<SCRIPT language=JavaScript><!--var thesites= new Array() thesites[0]="#";thesites[1]="#";thesites[2]="#";var gosite="";function geturl(thenum){gosite=thesites[thenum]; }function gothere() { if ((gosite==null) || (gosite==""))  alert("Please choose your destination");else  window.location=gosite;} //--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form><INPUT name=r1 onclick=geturl(0) type=radio>Link item #<BR><INPUT name=r1 onclick=geturl(1) type=radio>Link item #<BR><INPUT name=r1 onclick=geturl(2) type=radio>Link item # <BR><INPUT onclick=gothere() type=button value=GO> </FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->