Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/08/2009, 12:52
emma93
 
Fecha de Ingreso: abril-2008
Ubicación: Córdoba
Mensajes: 103
Antigüedad: 16 años
Puntos: 4
Respuesta: Inexperto php

seguro no es la mejor forma porque yo también estoy aprendiendo a programar web.

pero aca tenés un codigo que acabo de hacer con una función javascript que te lleva a determinada web al hacer click en un botón.

Cita:
<html>
<head><title>Probando</title></head>
<body>
<script language="JavaScript">
function redireccionar($web){
location.href = $web;
}
</script>
<input type="button" value="Ir a google" onclick="redireccionar('http://www.google.com.ar')">
<input type="button" value="Ir a elhacker.net" onclick="redireccionar('http://www.elhacker.net')">
</body>
</html>
Saludos !