Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/05/2004, 04:00
Avatar de epplestun
epplestun
 
Fecha de Ingreso: octubre-2001
Mensajes: 1.621
Antigüedad: 22 años, 6 meses
Puntos: 5
hello Karlankas

Bueno ta solucionado con un iframe oculto jeje

aqui dejo un ejemplillo:

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
	<script>
	var string;
	function show() {
		string = document.getElementById('images').contentWindow.document.body.innerHTML;
		var elements = string.split('\n');
		
		for(var i = 0; i < (elements.length - 1); i++) {
			var info = elements[i].split('|');
			var opt  = new Option(info[1], info[0]);
			document.admin.pictures.options[i] = opt;
		}
		
		return false;
	}
	</script>
</head>

<body>
<iframe id="images" src="image.select.php" width="0" height="0" onload="show()" frameborder="0"></iframe>
<form name="admin">
<select name="pictures" size="5">
</select>
</form>
</body>
</html>
__________________
Usuario registrado de Linux #288725