Antes de mais, muito obrigada KLAUS!!! Andava há uma série de dias às voltas nisto sem encontrar solução!!!!
Só há um problema.... No Google Chrome não funciona! Alguma solução?!

Posted 18/04/2011, 07:52
Posted 16/06/2011, 17:49
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR...-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="estilo.css" media="all" />
<!-- Puxando 'estilo.css' pra cá -->
<style>
.topicoLink {
margin: 0 auto;
overflow: hidden;
padding: 0px 0px 0px 0px;
background-color: transparent;
position: relative;
border: none;
font-family: "Georgia", Times New Roman, Times, serif;
font-weight: none;
font-size: 14px;
}
.contentSt {
margin: 0 auto;
overflow: hidden;
padding: 0px 0px 0px 0px;
background: url(white80.png) repeat;
position: relative;
border: none;
}
</style>
</head>
<body>
...
...
...
<div class="topicoLink">
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Home</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Acessórios</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Bolsas</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Calçados</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Carteiras</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Cosméticos</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">Vestimentas</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
<a href="home.html" target="frameBox">F. A. Q.</a>
<hr style="border: inset thin; width: 220px; color: #FCF; "/>
</div><!-- end .topicoLink -->
...
...
...
<div class="contentSt">
<script>
function WHFRAME(w,h){
var FrameWH = document.getElementById("framebox");
alert(h);
FrameWH.style.width = (w)+"px";
FrameWH.style.height = h+"px";
}
</script>
<iframe src="home.html" id="framebox" frameborder="0" ></iframe>
</div><!-- end .contentSt -->
...
...
...
</body>
</html>
home.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...nsitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="estilo1.css" media="all" />
<!-- Puxando 'estilo1.css' pra cá -->
<style>
#corpo{
width:686px;
height:100%;
}
</style>
<script type="text/javascript">
function ResizeWH(){
var w;
var h;
w = document.getElementById("corpo").clientWidth;
h = document.getElementById("corpo").clientHeight;
parent.WHFRAME(w,h);
}
</script>
</head>
<body>
<div id="corpo">
</div> <!-- end .corpo -->
</body>
<script>
ResizeWH();
</script>
</html>
Posted 18/09/2017, 09:46
Posted 20/09/2017, 19:02
Posted 27/09/2017, 20:29
Posted 29/09/2017, 12:39
Posted 03/10/2017, 12:13
Posted 04/10/2017, 06:24
Posted 05/10/2017, 04:38
Posted 05/10/2017, 23:55
Posted 09/10/2017, 16:16
Posted 10/10/2017, 07:39
Posted 10/10/2017, 09:47
Posted 13/10/2017, 22:22
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)