Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/03/2002, 10:19
jlmm
 
Fecha de Ingreso: julio-2001
Ubicación: Internet
Mensajes: 1.690
Antigüedad: 23 años, 6 meses
Puntos: 1
Re: Ayuudaa!! mini navegador con javascript

Hola!,

Entre >head> y </head>:

<SCRIPT LANGUAGE="javascript">
function ir()
{
miFrame.location.href = direccion.value;
}
</SCRIPT>

Mira, Supones Que El iframe Se Llama miFrame:

<IFRAME NAME="miFrame" SRC="http://www.google.com" WIDTH=400 HEIGHT=400></iframe>

Que El Campo De Texto Se Llama direccion:

<INPUT TYPE=text NAME="direccion" SIZE=100>

Y El Boton Iria Asi:

<INPUT TYPE="button" onClick="ir()" VALUE="ir">

No Creo Te Quede Dificil De Adaptar.

Dejase Saber Si Te Sirvio.

<CENTER><FONT COLOR=Black SIZE=2><I>"No Hay Cosas Imposibles, Solo Hombres Incapaces"</I></FONT></CENTER>