USUÁRIO:      SENHA:        SALVAR LOGIN ?    Adicione o VBWEB na sua lista de favoritos   Fale conosco 

 

  Dicas

  ASP - Active Server Page    (Miscelâneas)

Título da Dica:  Adicione radio buttons no seu site
Postada em 15/10/2003 por Tekki            
<SCRIPT>

//  radio button.
function leapTo (link)
   {
   var new_url=link;
   if (  (new_url != "")  &&  (new_url != null)  )
      window.location=new_url;
   else
      alert("\nYou must make a selection.");
   }

function viewSource()
   {
   var current_url="";
   current_url=document.location;
   window.location="view-source:"+current_url;
   }

function WinOpen()
   {
   alert('\nPage will load to full screen.\n\nUse View/Document Source from menu bar to view source.\n\nUse File/Save As from menu bar to save.\n\nClose new window to return to this page. ');
   window.open("radioleap1.html","DisplayWindow","menubar=yes,scrollbars=yes");
   window.open("radioleap1.html","DisplayWindow","menubar=yes,scrollbars=yes");   // double for Macs
   }

</SCRIPT>





<CENTER>
<FORM>
<TABLE BORDER=3 WIDTH=500>
<TD align="center" BGCOLOR=000080>
  <INPUT TYPE="radio" NAME="buttons1" onClick="leapTo('test.html')">
  <FONT COLOR=00FFFF>Test Page 1</FONT>
<TD align="center"  BGCOLOR=FF0000>
  <INPUT TYPE="radio" NAME="buttons1" onClick="leapTo('test2.html')">
  <FONT COLOR=000000>Test Page 2</FONT>
<TD align="center"  BGCOLOR=C0C0C0>
  <INPUT TYPE="radio" NAME="buttons1" onClick="leapTo('test3.html')">
  <FONT COLOR=800000>Test Page 3</FONT>
<TD align="center"  BGCOLOR=008080>
  <INPUT TYPE="radio" NAME="buttons1" onClick="leapTo('test4.html')">
  <FONT COLOR=FFFF00>Test Page 4</FONT>
</TABLE>
<BR><BR><BR>
<TABLE BORDER=0 WIDTH=400>
<TD align="center"><INPUT  TYPE="button" VALUE="Full  Window" onClick="WinOpen()">
</TABLE>
</FORM>
</CENTER>
 


CyberWEB Network Ltda.    © Copyright 2000-2024   -   Todos os direitos reservados.
Powered by HostingZone - A melhor hospedagem para seu site
Topo da página