found something others may find useful ... (I know I do)
if (document.all) // IE
var xMax = screen.width, yMax = screen.height;
else if (document.layers) // netscape
var xMax = window.outerWidth, yMax = window.outerHeight;
else // play safe
var xMax = 640, yMax=480;
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.