Screensize

C

CookiesMonster

Hi,
Does anybode have a javascript what the following does.
I would like to force a minimum screensize of 800*600
Is this possible

Thankx

Cookie
(newbie)
 
B

Barbara de Zoete

Does anybode have a javascript what the following does.

This group is about HTML, not javascript.
I would like to force a minimum screensize of 800*600
Is this possible

With javascript you can't force anything. If a user has no javascript, it
won't work, no matter how thorough your script is.

With markup you can't force it either. In graphical browsers settings for
width on for example the body element might have effect, but in modern
graphical browsers the user has the final control and can override your
setting with ease.
Same goes for CSS.

BTW: you confuse screensize (presumably resolution) and the size of the
viewport of a browser. The browser viewport can be anything between
320x160 (PDA, cell phone) and maybe as large as 1600x1200 (wide screen
laptop or something like that). That means that there are
(1600-320)x(1200-160)=1280x1040=1.331.200 possible viewport sizes out
there that you have to deal with. Are you up to that?

You could be with not much effort:
<URL:http:www.google.com/search?q=liquid+design>

If you still want to design for 800px wide viewports, use some simple CSS
to do that, so if a user wants to, s/he can ignore it easily:

body {
width:768px;
margin:0 auto;
padding:2em 0; }
 
D

David Dorward

Does anybode have a javascript what the following does.
I would like to force a minimum screensize of 800*600

Would it increase the physical dimensions of my screen too? And the output
capabilities of the graphics chip? That would be impressive ... although my
phone probably wouldn't fit in my pocket any more, so it wouldn't be all
that /good/.
 
B

Barbara de Zoete

Would it increase the physical dimensions of my screen too? And the
output
capabilities of the graphics chip? That would be impressive ... although
my
phone probably wouldn't fit in my pocket any more,

lol
 
N

Neredbojias

To further the education of mankind, (e-mail address removed) vouchsafed:
Hi,
Does anybode have a javascript what the following does.
I would like to force a minimum screensize of 800*600
Is this possible

Have you explored the css style of "min-width"?
 
T

Toby Inkster

Barbara said:
maybe as large as 1600x1200 (wide screen laptop or something like that)

1600x1200 isn't widescreen, it's 4:3 -- a fairly standard aspect ratio,
which dates back to silent movies. Widescreen is generally taken as at
least 3:2; more commonly 16:9.

Some Apple laptops have 1440x960 displays, but you're not likely to find
much higher in the laptop world (though I suppose they do exist). With
desktops many CRTs can go up to 1920x1440 or more.

And of course you can go dual-headed, say, 3840x1440, though I don't
imagine many people with that kind of setup would maximise their browser.
 
D

Dylan Parry

Pondering the eternal question of "Hobnobs or Rich Tea?", Toby Inkster
finally proclaimed:
Some Apple laptops have 1440x960 displays

My laptop (Dell Inspiron 9300) has a 1440x900 display. Do Apple laptops
really have an extra 60px height, or was that a typo?
 
J

JDS

And of course you can go dual-headed, say, 3840x1440, though I don't
imagine many people with that kind of setup would maximise their browser.

I have a zupramondowidescreen set at 3296x12

Yes, "12"

it is a really really long thing band that stretches across my desk
Quite hard to use, actually; I'm thinking of sending it back.
 
B

Beauregard T. Shagnasty

JDS said:
I have a zupramondowidescreen set at 3296x12

Yes, "12"

it is a really really long thing band that stretches across my desk
Quite hard to use, actually; I'm thinking of sending it back.

That would be a *great* monitor for displaying a web site about life on
a spaghetti farm!
 
T

Toby Inkster

Dylan said:
Toby Inkster proclaimed:


My laptop (Dell Inspiron 9300) has a 1440x900 display. Do Apple laptops
really have an extra 60px height, or was that a typo?

http://support.apple.com/specs/powerbook/PowerBook_G4_15-inch_Double-Layer_SD.html

They don't have an *extra* 60px -- you're missing 60px! Do you have
trouble reading the subtitles on foreign DVDs? ;-)

Seems they also have a 17" screen at 1680x1050. Nice.

For what it's worth, with VMWare you can achieve crazy resolutions like
1231x403
 
D

Dylan Parry

Pondering the eternal question of "Hobnobs or Rich Tea?", Toby Inkster
finally proclaimed:
They don't have an *extra* 60px -- you're missing 60px! Do you have
trouble reading the subtitles on foreign DVDs? ;-)

I don't watch foreign DVDs. I can't stand having to read subtitles...
they make it too hard for me to concentrate on what's actually going on
;)
 
T

Toby Inkster

Dylan said:
I don't watch foreign DVDs. I can't stand having to read subtitles...
they make it too hard for me to concentrate on what's actually going on
;)

Just set your media player to play them at half the speed! :)
 
D

dorayme

Dylan Parry said:
I don't watch foreign DVDs. I can't stand having to read subtitles...
they make it too hard for me to concentrate on what's actually going on
;)

Do you give sub-titled movies at the movies a skip too?

You get better at it and don't notice after a while. If the
subtitling is done well, (e.g. with backgrounds that make them
actually legible), and it is a good film, and you don't watch it,
you will ... er.. miss out.
 
L

Luigi Donatello Asero

dorayme said:
Do you give sub-titled movies at the movies a skip too?

You get better at it and don't notice after a while. If the
subtitling is done well, (e.g. with backgrounds that make them
actually legible), and it is a good film, and you don't watch it,
you will ... er.. miss out.


Subtitles are ok. At least
they are a better solution for those who want to learn languages.
By the way, have you seen many movies from Brigitte Bardot?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top