Ver Mensaje Individual
  #4 (permalink)  
Antiguo 02/06/2009, 11:51
ind4rk
 
Fecha de Ingreso: febrero-2009
Mensajes: 17
Antigüedad: 16 años
Puntos: 0
Respuesta: onClick... que cargue un iframe u otro

aki tienes un ejemplo simple, rapido y sucio
Código:
<html>
<head>
    <title>Página sin título</title>
</head>
<script type="text/javascript">
        function CambiarIframe(dire) 
        {
            document.getElementById("imenu").src = dire ;
        }
</script>
<body>
<iframe  width="780px" height="300px"  id="imenu" ></iframe>
    <input id="Button1" type="button" value="button" onclick="CambiarIframe('HTMLPage5.htm')"/>
</body>
</html>