el js
Código:
el link
<script language="JavaScript">
function crearFrame( lugar)
{
var testFrame = document.createElement("IFRAME");
testFrame.id = "testFrame";
testFrame.frameborder="0";
testFrame.width="300"; //ancho
testFrame.height ="93%"; // alto
testFrame.scrolling="no";
testFrame.src = "contact.html";
var control = document.getElementById("testFrame")
if (control==null)
{
document.getElementById(lugar);
document.body.appendChild(testFrame);
}
}
</script>
Código:
el css<div id="contaco"> <a href="javascript: void crearFrame(lugar)" > <img src="imagenes/contaco.png" border=0 onmouseover="this.width=70;this.height=64;" onmouseout="this.width=60;this.height=54;" width="60" height="54" /> </a> </div>
Código:
Probado todo quite las css, cree una div dentro de otra, etc de todo, no se sera que creo mail el iframe o simplemete no funciona la idea, probe en Firefox y IE8.
#lugar{
margin-top: -400px;
margin-left: -35%;
}


