Foros del Web » Programando para Internet » Javascript »

Iframe sin scrollbar ???

Estas en el tema de Iframe sin scrollbar ??? en el foro de Javascript en Foros del Web. Hola Tengo el siguiente codigo <script language="javascript"> function modiframe(destino,dd) { document.frames.marco.location=destino var iframeCentral=document.getElementById("marco"); iframeCentral.style.height=dd } </script> </head> <body> <a href="javascript :modiframe('http://www.sinvueltas.tk',140)">Cambiar Iframe</a> <a href="javascript :modiframe('http://www.ariel-nico.tk')">Cambiar ...
  #1 (permalink)  
Antiguo 04/12/2005, 01:18
 
Fecha de Ingreso: octubre-2005
Mensajes: 407
Antigüedad: 18 años, 7 meses
Puntos: 2
Iframe sin scrollbar ???

Hola Tengo el siguiente codigo

<script language="javascript">
function modiframe(destino,dd)
{
document.frames.marco.location=destino
var iframeCentral=document.getElementById("marco");
iframeCentral.style.height=dd
}
</script>

</head>

<body>



<a href="javascript:modiframe('http://www.sinvueltas.tk',140)">Cambiar Iframe</a>
<a href="javascript:modiframe('http://www.ariel-nico.tk')">Cambiar Iframe</a>
<a href="javascript:modiframe('http://www.andreaweb04.tk')">Cambiar Iframe</a>

<p></p>
<p><iframe id="marco" width="300" height="400" src="google.com">
Este es el IFrame</iframe></p>



</body>

</html>


lo que quiero hacer es que cuando abro un link no me aparezca el scrollbar del iframe

al principio no aparece pero cuando preciono un link
se carga la pagina y aparece el scrollbar

si alguien puede ayudarme

graciasss
  #2 (permalink)  
Antiguo 05/12/2005, 08:51
 
Fecha de Ingreso: octubre-2005
Mensajes: 407
Antigüedad: 18 años, 7 meses
Puntos: 2
alguien que me ayude porfavor

alguien que me ayude porfavor
  #3 (permalink)  
Antiguo 05/12/2005, 08:59
Avatar de Saruman  
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
esto te servirá

default.ext

Código PHP:
<iframe width="95%" id="suppliers_history" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe
Código PHP:
window.onload = function() {
document.all.suppliers_history.scrolling "no";
document.all.suppliers_history.src "supplier_history_iframe.ext";


supplier_history_iframe.ext

Código HTML:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
 
<div id="div_supplier_history">
<!-- tu contenido html -->
</div>
 
<script language="javascript">
window.onload = function() {
window.resizeTo(window.parent.document.all.suppliers_history.offsetWidth,document.all.div_supplier_history.offsetHeight+30)
}
 
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script>
 
</body>
</html> 
cualquier cosa me avisas...

saludos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.
  #4 (permalink)  
Antiguo 05/12/2005, 09:42
 
Fecha de Ingreso: octubre-2005
Mensajes: 407
Antigüedad: 18 años, 7 meses
Puntos: 2
gracias sumuran

muchas gracias lo probe anda de diez

pero perdon por el abuzo puedes ayudarme en el otro post

desde ya miles y millones de gracias
  #5 (permalink)  
Antiguo 05/12/2005, 09:45
Avatar de Saruman  
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años
Puntos: 5
Cita:
Iniciado por DJJJ
muchas gracias lo probe anda de diez

pero perdon por el abuzo puedes ayudarme en el otro post

desde ya miles y millones de gracias
cool, veré que puedo hacer
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta

SíEste tema le ha gustado a 1 personas (incluyéndote)




La zona horaria es GMT -6. Ahora son las 22:57.