View Full Version : screen resolution help


Mr_Black
08-26-2006, 02:25 AM
I can not get this too work, i have searched on-line and it looks right.

I want this code to correctly identify whether or not the screen resolution is as the code says.

if (screen.width==1024&&screen.height==768)
{
var screen=0;
}
then it saves the variable and goes to the rest of the script. I know this bit is the problem area since i have tested it.

Any help is appreciated