I need a javascript that pops up on a web site if the screen resolution is less than or greater than 800X600. It also needs to say,"This page is best viewed at a screen resolution of 800X600."
You can test "screen.width" and "screen.height" to find the dimesnsions... but to be honest (and bear in mind this is said without knowing your circumstances, as you've not told us any) you might be better off re-designing your layout to be scalable / fluid.
Hope this helps,
Dan
Coedit Limited - Delivering standards compliant, accessible web solutions
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.