/    Sign up×
Community /Pin to ProfileBookmark

Resolution settings.

This is deep..so hold on tight.
I was just thinking, that it would be the coolest thing if on a website, you could have the “website” analyze the visitors computer, and find out what resolution their screen is on. After it has done that, it should automatically (depending on the resolutions) take the visitor to the page designed for that resolution.
Can this be done? I’m sure it’s proly not html, but maybe java or something.
If anyone knows anything…

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@VladdyDec 04.2002 — With the correct design you do not need different pages, just a different stylesheet. I'm currently working on the site that does jsut that. You are welcome to check out the work in progress at http://www.klproductions.com/TemplateT4.html
Copy linkTweet thisAlerts:
@CharlesDec 04.2002 — [font=georgia]With the correct design you don't need different stylesheets either. Which is a good thing because an awful lot of us out here do not use JavaScript. And while you can with JavaScript get the number of pixels across the user's screen, you cannot get not the number of pixels in their window. Neither can you know how many pixels there are per inch, nor can you know how big they need the text to be for their poor old aging eyes. A minimally adequate web designer knows how to make a page flow no matter what the window or font size.[/font]
×

Success!

Help @minulescu spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...