View Full Version : cross brower window.screen
audiophan
11-29-2002, 10:14 PM
var res = window.screen.width + "," + window.screen.height;
var maxres = window.screen.availWidth + "," + window.screen.availHeight;
how would i create a similar line of code that works for not only i.e. but netscape and other browsers as well
audiophan
12-01-2002, 04:13 PM
maybe a website to help me find out?
realisis
12-02-2002, 01:07 AM
audiophan, Netscape does respond to the properties you've mentioned (so does Opera, etc).
What problems are you having?
Don't use the window.screen reference. Just use screen.width and screen.height. I've never had any problems with those properties before.
audiophan
12-02-2002, 03:58 AM
Originally posted by realisis
audiophan, Netscape does respond to the properties you've mentioned (so does Opera, etc).
What problems are you having?
i thought so. i had a problem posted in another thread to which the answer was netscape doesn't like the specified j/s. so i reposted on how to fix it.
however i found the problem to be with a hidden style.
thanks though~!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.