Foros del Web » Creando para Internet » HTML »

2 Preguntas Facilitas

Estas en el tema de 2 Preguntas Facilitas en el foro de HTML en Foros del Web. 1ª quiero que pulsando un gif se abra la pagina en un pop-up ¿Como lo hago? 2ª Tengo una animación en Flash y desearia que ...
  #1 (permalink)  
Antiguo 11/04/2002, 06:43
Usuario baneado!
 
Fecha de Ingreso: abril-2002
Mensajes: 154
Antigüedad: 22 años
Puntos: 0
2 Preguntas Facilitas

1ª quiero que pulsando un gif se abra la pagina en un pop-up ¿Como lo hago?

2ª Tengo una animación en Flash y desearia que fuera la presentación de mi web, y al pulsar cualquier tecla entrara a la pagina siguiente que en este caso sería el menu principal.

Espero que me podais ayudar, es urgente.
Gracias. :)
  #2 (permalink)  
Antiguo 11/04/2002, 07:55
 
Fecha de Ingreso: abril-2002
Mensajes: 74
Antigüedad: 22 años
Puntos: 0
Re: 2 Preguntas Facilitas

Respuesta a tu 1ª pregunta.

Coloca este código:

<html>
<head>
<title>abrir ventana</title>
<script type="text/javascript">
var win= null;
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable=yes';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
</script>

</head>
<body>
<a href="ventana.html" onclick="NewWindow(this.href,'name','500','30 0','yes');return false">
<IMG SRC="imagen.gif" WIDTH="50" HEIGHT="50" border="0"></a>
</body>
</html>


Te vale seguro.. :)
  #3 (permalink)  
Antiguo 11/04/2002, 08:33
 
Fecha de Ingreso: julio-2001
Ubicación: Internet
Mensajes: 1.690
Antigüedad: 22 años, 9 meses
Puntos: 1
Re: 2 Preguntas Facilitas

Hola!,

Y La Segunda, Si Es Que Entendi Seria Poner En El <BODY> Que Detecte La Pulsasion De Tecla:

<BODY onkeypress="location.href='index2.htm'"& gt;

<CENTER><IMG SRC="http://www.galeon.com/jlmnetwork/FWPD.jpg"><BR><FONT COLOR=Black SIZE=2><I>"No Hay Cosas Imposibles, Solo Hombres Incapaces"</I></FONT></CENTER>
  #4 (permalink)  
Antiguo 11/04/2002, 10:11
Usuario baneado!
 
Fecha de Ingreso: abril-2002
Mensajes: 154
Antigüedad: 22 años
Puntos: 0
Re: 2 Preguntas Facilitas

MUCHAS GRACIAS FUNCIONAAAAAAAAAAAAAAAAA
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




La zona horaria es GMT -6. Ahora son las 08:19.