Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/01/2003, 04:56
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola, biblio.

Veamos si te sirve esto, al menos para empezar:
Código PHP:
<html>
<
head>
<
script>
function 
cambiaFoto(valor) {
    
imagen '<img src="'+valor+'">';
    
foto.innerHTML=imagen;
}
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="200" border="1" cellspacing="1">
  <tr>
    <td id="foto">&nbsp;</td>
  </tr>
</table>
<p>
  <select name="select" onChange="cambiaFoto(this.value)">
      <option value="tuFoto1.gif">Foto1</option>
      <option value="tuFoto2.gif">Foto2</option>
  </select>
</p>
</body>
</html> 
Saludos,