Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/08/2010, 09:31
helion
 
Fecha de Ingreso: mayo-2010
Mensajes: 215
Antigüedad: 14 años
Puntos: 4
Respuesta: enlace con 2 iframe .. posible !??

Cita:
Iniciado por deirdre Ver Mensaje
Hola helion

Con este código lo solucionas: Dos iframes y un sólo enlace que abre dos direcciones distintas.

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Un click y carga dos iframes</title>
<style type="text/css">
#iframe_uno {
	width: 900px;
	height: 300px;
	border: 1px solid #444;
}
#iframe_dos {
	width: 900px;
	height: 300px;
	border: 1px solid #444;
}
</style>
</head>

<body>
<iframe id="iframe_uno" name="iframe_uno" frameborder="0"></iframe>
	<br />
<a href="http://www.elpais.com" target="iframe_uno" onclick="top.iframe_dos.location='http://www.elmundo.es';">Cargar la prensa</a>
	<br />
<iframe id="iframe_dos" name="iframe_dos" frameborder="0"></iframe>

</body>

</html> 
Saludos


Gracias amigo me sirvio de mucho =)