...

View Full Version : cross brower window.screen



audiophan
11-29-2002, 11: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, 05:13 PM
maybe a website to help me find out?

realisis
12-02-2002, 02:07 AM
audiophan, Netscape does respond to the properties you've mentioned (so does Opera, etc).

What problems are you having?

jkd
12-02-2002, 02:21 AM
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, 04: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~!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum