Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/05/2008, 22:09
Avatar de marcopoloaz06
marcopoloaz06
 
Fecha de Ingreso: julio-2007
Ubicación: México
Mensajes: 457
Antigüedad: 16 años, 9 meses
Puntos: 11
Re: Abrir vinculo en un bloque

hOla, no se si esto sea a lo que te refieres:
js:
Código HTML:
<script type="text/javascript">

function _frame(th,url,widTH,heigHT){
var th=document.getElementById(th);
var elFrame=document.createElement("iframe");
elFrame.src=url;elFrame.style.width=widTH+"px";elFrame.style.height=heigHT+"px";
th.appendChild(elFrame);
}

</script> 
html:
Código HTML:
<div id="cuerpo">
</div>
<br><br><br><br>


<input type="button" onclick="_frame('cuerpo','http://google.com/',500,200);" value="abrir" /> 
mira echate un manual de Javascript muy fácil y muy bueno
http://librosweb.es/javascript/

SaludOs &
adios...
:]
__________________
Aerolíneas Alicia :D