
tenho a pagina index com alguns links. Esses links devem abrir a pagina index2 com sua respectiva iframe.
A pagina index2 tem os links para abrir dentro da iframe e estão funcionando OK, mas queria que a index pudesse abrir direto
Posted 21/11/2003, 15:14
Posted 22/11/2003, 14:16
<iframe id="exemplo"></iframe>
<script language="JavaScript"
var area = location.search.slice(1);
document.getElementById("exemplo").src = area + ".htm";
</script>
Posted 24/11/2003, 14:13
<iframe id="exemplo"></iframe>
<iframe
id="exemplo"
name = "conteudo"
height = "266"
width = "563"
frameborder = "0"
src = "entrada.htm"> </iframe>
<script language="JavaScript"
var area = location.search.slice(1);
document.getElementById("exemplo").src = area + ".htm";
</script>
Posted 24/11/2003, 14:20
Posted 24/11/2003, 14:35
<area shape="rect" coords="202,48,231,62" href="index2.htm?perfil">
<head>
<script language="JavaScript">
var area = location.search.slice(1);
document.getElementById("exemplo").src = area + ".htm";
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<iframe
id="exemplo"
name = "conteudo"
height = "266"
width = "563"
frameborder = "0">
</iframe>
</body>
</html>
Posted 25/11/2003, 07:04
<head> <script language="JavaScript"> function Iframe(){ var area = location.search.slice(1); document.getElementById("exemplo").src = area + ".htm"; } </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="Iframe()"> <iframe id="exemplo" name="conteudo" height="266" width="563" frameborder="0"> </iframe> </body> </html>
Edição feita por: Dinho Z., 25/11/2003, 07:05.
Posted 25/11/2003, 07:25
???.slice(1);
Posted 25/11/2003, 07:34
Posted 25/11/2003, 07:44
Edição feita por: Without a Nick, 25/11/2003, 07:45.
Posted 25/11/2003, 07:59
Posted 25/11/2003, 08:00
Posted 25/11/2003, 12:50
Posted 11/12/2003, 23:08
Posted 12/12/2003, 23:13
0 membro(s), 1 visitante(s) e 0 membros anônimo(s)