|
|
 |
FN-FORUM: JS Screen Size
date posted 9th August 2003 21:10
Hi,
Ive got a script that detects the monitor screen size and prints a different
line dependant on the what it is.
This is the screen size test script:
http://www.javascripter.net/faq/screensi.htm
screenW is the variable with the screen size in
So far Ive got:
if (screenW < 1024){
document.write ("");
}
else {
document.write ("");
}
Which doesnt write anything :(
I need it to write one thing if screen size is 1024+ and another if its
under 1024.
Any ideas people?
Jamie Lewis
Low Cost Web Hosting - http://www.eyota-web-hosting.co.uk
Bespoke Web & IT Solutions - http://www.eyota.co.uk
|
 |
|