Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/09/2010, 14:41
ernanillo
 
Fecha de Ingreso: junio-2009
Mensajes: 52
Antigüedad: 15 años, 5 meses
Puntos: 1
Respuesta: scroll de iframe a la pagina entera

a ver, tengo el encabezado y el cuerpo. El cuerpo es un div y dentro del div hay un iframe, lo que pasa esk el scroll lo hace solo al iframe, y quiero hacerselo a la pagina entera, es decir, que no baje solo el cuerpo o iframe, al bajar la pagina, sino que baje la pagina entera, incluyendo el encabezado, por si os es más facil, aki os dejo el codigo:

Código:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="estilo.css" rel="stylesheet" type="text/css" />
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
<script src="Scripts/cuerpo.js" type="text/javascript"></script>
<script src="http://s6.myradiostream.com/unlock/jquery.js" type="text/javascript"></script>
<script src="http://s6.myradiostream.com/unlock/jquery.lazyload.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_effectBlind(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}
function MM_effectShake(targetElement)
{
	Spry.Effect.DoShake(targetElement);
}
function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}
function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle)
{
	Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
}
//-->
</script>

</head>
<body onload="djs.html">
<div id="cabecera">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','780','height','237','title','cabecera','src','0042','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','0042' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="780" height="237" title="cabecera">
    <param name="movie" value="0042.swf" />
    <param name="quality" value="high" />
    <embed src="0042.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="780" height="237"></embed>
</object>
</noscript>
</div>
<div id="cabecera1"></div>
<div id="cabecera2"></div>
<div id="cabecera3"></div>
<div id="cabeceramenu"></div>
<div id="menu1">
<div id="barra"><img src="images/MENU.png" width="174" height="49" /></div>
<div id="li1"><a onclick="javascript: MM_effectShake('li1'); Borrar(); Home();MM_effectAppearFade('cuerpo', 1000, 0, 100, false)" onmouseover="MM_effectHighlight('li1', 1000, '#FFFFFF', '#E11919', '#E11919', false)"><font color="#000000">&diams;</font> Inicio</a></div>
<div id="li2"><a onclick="javascript: MM_effectShake('li2'); Borrar(); Djs();MM_effectAppearFade('cuerpo', 1000, 0, 100, false)" onmouseover="MM_effectHighlight('li2', 1000, '#FFFFFF', '#E11919', '#E11919', false)"><font color="#000000">&diams;</font> Dj's</a></div>

</div>
<div id="unlock"><img src="http://s6.myradiostream.com/unlock/19686.png" height="0" width="0" /></div>
<div id="radio">
  <div id="playerswf" style="border: 0pt none ; padding: 0pt; display: inline-block; width: 180px; height: 50px; background-image: url(images/fondoradio.gif);">
  <object height="50" width="180" style="vertical-align:middle">
    <param name="movie" value="http://bellonline.co.uk/player/player.swf?url=http://s6.myradiostream.com:/19686/;&autoplay=1&title=" />
    <param name="wmode" value="transparent" />
    <embed src="http://bellonline.co.uk/player/player.swf?url=http://s6.myradiostream.com:19686//;&autoplay=1&title=" wmode="transparent" type="application/x-shockwave-flash" height="50" width="180"></embed>
  </object>
  Estado de la radio:
  <script type="text/javascript" src="http://shoutcast.mixstream.net/js/status/uk6-free:19686">
You appear to have javascript turned off.

</script>
<img src="http://shoutcast.mixstream.net/status/uk6-free:19686.gif" alt="Stream status" width="17" height="17" align="absmiddle">
</div> 
</div>
<div id="cuerpo">
  <iframe src="home.html"  width="100%" height="100%" style="border:hidden; overflow:auto" frameborder="0"></iframe>
</div>
</body>
</html>