Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/12/2002, 17:06
Avatar de atlante
atlante
 
Fecha de Ingreso: julio-2002
Ubicación: Lima
Mensajes: 140
Antigüedad: 21 años, 9 meses
Puntos: 0
Mensaje reconocer resolucion

Bueno al parecer esta pregunta es un poco vieja , pero es muy bueno que la hagas, este es el codigo necesario .

Código PHP:
<HTML>
<
HEAD>
<
META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<
TITLE></TITLE>
<
script language=javascript>
<!--
function 
LPG_openpopup(){
var 
width=screen.width
var height=screen.height
if(window.screen)
 if (
width == 1024 && height == 768){
 
mensaje=window.open("urldelpopup","mensaje","width=400,height=200")
 }
 else{
 
alert("Usted tiene resolucion de 800x600 \nEs recomendable que cambie su resolucion a 1024 x 768 \npara visualizar adecuadamente este sitio web")
}
}
-->
</script>
<body onLoad="LPG_openpopup()">
</BODY>
</HTML> 
__________________
If you look, If you really read between the lines, You will see...