
20/05/2003, 15:28
|
 | | | Fecha de Ingreso: abril-2002 Ubicación: Barcelona (Spain)
Mensajes: 710
Antigüedad: 23 años Puntos: 1 | |
Capturación de resolución, es correcto? Esta pequeña función está bien elaborada?
Es incompatible con algun navegador?
~~~~~~~~~~~~~~~~~~~~~~
if (screen.width + "x" +screen.height == "640x480") info="640x480"
else if (screen.width + "x" +screen.height == "800x600") resolucion="800x600"
else if (screen.width + "x" +screen.height == "1024x768") resolucion="1024x768"
else if (screen.width + "x" +screen.height == "1152x864") resolucion="1152x864"
else if (screen.width + "x" +screen.height == "1280x768") resolucion="1280x768"
else if (screen.width + "x" +screen.height == "1280x1024") resolucion="1280x1024"
else resolucion="desconocida"
document.write('<img src="includes/resolucion.asp?info='+resolucion+'" border=0>')~;
~~~~~~~~~~~~~~~~~~~~~~
Gracias de antemano.
__________________ Francesc Mula Calleja Hay mucho por ver todavía... |