Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/11/2005, 13:42
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
chequea esto y me dices si te funciona... no lo he probado....

Código PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>Untitled Document</title>
</
head>
<
body>
<
script language="javascript">
 function 
cargar_imagen(imagen) {
  var 
img document.getElementById("myimage");
  var 
img_dir "tu_directorio/";
  if (
img) {
   
img.src img_dir imagen;
  }
 }
</script>
<select name="imagenes" onchange="cargar_imagen(this.value)">
 <option value="imagen01.jpg">Imagen 1</option>
 <option value="imagen02.jpg">Imagen 2</option>
 <option value="imagen03.jpg">Imagen 3</option>
 <option value="imagen04.jpg">Imagen 4</option>
</select>
<img src="imagen_default.jpg" id="myimage"/>
</body>
</html> 
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.