Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/08/2010, 21:20
Avatar de deirdre
deirdre
 
Fecha de Ingreso: mayo-2009
Mensajes: 690
Antigüedad: 14 años, 11 meses
Puntos: 45
Respuesta: enlace con 2 iframe .. posible !??

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