Forum Moderators: open

Message Too Old, No Replies

An easy question about screen resolution?

Two Questions

         

Cadet Cheapstakes

3:48 pm on Dec 2, 2001 (gmt 0)



1. How do i find out what setting my own browser is on (embarassingly).

2. Can anyone recommend a good Javascript that detects the users browser settings and reads something like "this page is best viewed at 800x600 you are currently using 1234x1234" etc. How do you find what the best browser setting is on a page?

Regards

tedster

4:23 am on Dec 3, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>> 1. How do i find out what setting my own browser is on

If you are talking about screen dimensions, that is set in your operating system, not by the browser. In Windows, check it under:
START > SETTINGS > CONTROL PANEL > DISPLAY > SETTINGS

>> 2. Can anyone recommend a good Javascript that detects the users browser settings and reads something like "this page is best viewed at 800x600 you are currently using 1234x1234" etc.

There really are two different issues here: screen resolution and window size. If your pages are created for viewing at a 800x600 resolution, they should be usuable for almost everyone. So I wouldn't suggest using up screen real estate or file size by introducing "this page best viewed" remarks. They tend to look amateurish at best.

Another reason not to include these notices: almost no one is going to stop their session and resize their screen settings to better view your site. And if they only have a small window open, they will naturally resize it anyway to see your full page.

Javascript for learning Screen Resolution and/or Window Size [developer.irt.org]