The following code apparently measures the screen size and not the browser window size, which is the wrong way to go about testing screen suitability for a website.
I have designed three sites with the following dimensions as a basis: 640x480, 800x600 and 1024x768 and was sure that screen size was right ~is it?
var width = screen.width;var res =(((!(640-width))*1)+((!(800-width))*2)+((!(1024-width))*3)+((!(1152-width))*4)+((!(1280-width))*5)+((!(1600-width))*6));
if(!(res)) res = 1;if (res=='1') {window.location='if (res=='2') {window.location='if (res=='3') {window.location='if (res!='1' && res!='2' && res!='3') PopupCenter ('}
I have designed three sites with the following dimensions as a basis: 640x480, 800x600 and 1024x768 and was sure that screen size was right ~is it?
var width = screen.width;var res =(((!(640-width))*1)+((!(800-width))*2)+((!(1024-width))*3)+((!(1152-width))*4)+((!(1280-width))*5)+((!(1600-width))*6));
if(!(res)) res = 1;if (res=='1') {window.location='if (res=='2') {window.location='if (res=='3') {window.location='if (res!='1' && res!='2' && res!='3') PopupCenter ('}