Ver Mensaje Individual
  #8 (permalink)  
Antiguo 29/08/2008, 11:30
ssclamp
 
Fecha de Ingreso: octubre-2004
Mensajes: 289
Antigüedad: 19 años, 6 meses
Puntos: 10
Respuesta: scrolling="yes" como puedo posicionarlo

Haz una prueba con estas páginas. He corregido problemas que tenias en las medidas y he añadido la página capturadora que necesitas.

Funciona bien en iexplorer y en firefox 2 y 3. En opera el scroll no funciona por razones que desconozco.

Al decir funciona bien quiero decir que desaparece la cabecera que no quieres mostrar y que el nuevo scroll permite navegar por la página capturada. Lo que no es posible hacer es que al navegar por dentro del sitio se siga manteniendo oculta la cabecera: eso es imposible porque, naturalmente, no tenemos acceso a las páginas exteriores.

Primer html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="title" content="Crimentales ">
<meta name="DC.title" content="Crimentales ">
<meta http-equiv="title" content="Crimentales ">
<meta http-equiv="keywords" content="grupo musical, musica">
<meta name="keywords" content="grupo musical, musica">
<meta http-equiv="description" content="...Bienvenidos a la experiencia Estereofónica">
<meta name="description" content="...Bienvenidos a la experiencia Estereofónica">
<meta http-equiv="DC.Description" content="...Bienvenidos a la experiencia Estereofónica">
<meta name="distribution" content="global">
<meta name="resource-type" content="Document">
<meta http-equiv="Pragma" content="cache">
<meta name="Revisit" content="30 days">
<meta name="robots" content="all">
<LINK REL="SHORTCUT ICON" HREF="faviconcrimentales.ico">
<title>Fotolog Crimentales - Rock / Powerpop</title>
<link href="carlos.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-image: url(http://personales.ya.com/crimentales/pie0.gif);
background-position:top center;
background-repeat:no-repeat;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.Estilo1 {font-size: 36px}
-->
</style>
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head><body onLoad="MM_preloadImages('http://personales.ya.com/crimentales/pie1.png')">
<table width="924" align="center">
<tr>
<td><div align="center"><a href="portada.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','http://personales.ya.com/crimentales/pie1.png',1)"><img src="http://personales.ya.com/crimentales/pie1.png" name="Image1" width="924" height="117" border="0"></a></a></a></div></td>
</table>

<table width="924" height="360" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="924" align="left" valign="top"><iframe src="capturador.htm" width="100%" height="455" scrolling="no" frameborder="0"></iframe></td>
</table>
<div align="center">
<iframe src="http://personales.ya.com/crimentales/piepeque.html" width="924" height="15" scrolling="no" frameborder="0"></iframe>
</div>
</body>
</html>

Segundo html (colocar en la misma carpeta que el anterior):

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Capturador</title>
<style type="text/css">
body {
overflow: hidden;
}
html {
overflow: hidden;
}
</style>
</head>

<body>
<div style="width: 100%; height: 100%;" id="dos">
<div style="position: absolute; left: 0px; top: -205px; width: 920px; height: 790px; overflow: scroll">
<iframe name="captura_pagina_exterior" src="http://www.fotolog.com/crimentales" marginwidth="0" marginheight="0" height="2800" width="920" border="0" frameborder="0" scrolling="auto"></iframe>
</div>
</div>
</body>

</html>

Prueba y nos dices