Ver Mensaje Individual
  #12 (permalink)  
Antiguo 02/02/2007, 20:53
Avatar de bookmaster
bookmaster
 
Fecha de Ingreso: febrero-2002
Ubicación: Toledo
Mensajes: 976
Antigüedad: 22 años, 3 meses
Puntos: 67
Re: buscador interno 2

Para que te hagas una idea te pongo un pequeño ejemplo de como se ejecutan scripts de un frame a otro.

index.html
Código HTML:
<html>
<head>
<title></title>
</head>
<frameset rows="30,*">
  <frame src="Arriba.html">
  <frame name="Inferior" src="Abajo.html">
</frameset>
</html> 
Arriba.html
Código HTML:
<html>
<head>
<title></title>
</head>
<body>
<a href="#" onclick="parent.Inferior.prueba();">Prueba</a>
</body>
</html> 
Abajo.html
Código HTML:
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
function prueba(){
   document.write("Esto debe salir abajo");
};
-->
</script>
</head>
<body>
</body>
</html> 
Para hacer la llamada a una variable o script de otro marco la puedes hacer con parent.NOMBREMARCO.variableofuncion, te lo he diferenciado en colores paa que veas los 2 que se agregan.
__________________
Decir si te a funcionado la respuesta es ¡GRATIS!. Por favor indicarlo.
http://www.lohacemosweb.net
http://tutoriales.lohacemosweb.net