WindAndWaves said:
I love the way you ask a question and everyone tells you
not to do it.
No individual finds it easy to see the world through the eyes of others
(and certainly without being interested in what those others have to say
about their perceptions of the world). If you don't perceive doing
something that is commonly expressed as undesirable as being a bad idea
then it should be of benefit to you to have your horizons widened by
being told about the common perception of your proposed action. You may
not care in the slightest for the opinions of your users, but you will
be better informed.
I have my reasons - ok - you just do not know them ;-).
If you don't present the information pertinent to your question with
your questions it will remain unknown and not be considered by the
people answering it. If you then attribute the answers you don't like to
the absence of pertinent information form your post you should be able
to recognise that the fault is yours, and how to correct it.
You should also bear in mind that you have just announced that you have
wasted the time of everyone who took the trouble to answer you. Becoming
known for being a time waster will not promote fruitful interaction with
this group.
It is actually for a button that people can click on
that says: "full screen"
Is there an operating system in existence that does not present a button
(and other means) for just that task on every window (at least an OS
that uses sizeable windows)?
Not really. It is re-inventing the wheel, and in a form that will be
unfamiliar to the user and only available in a context alongside a
familiar alternative.
You are welcome.
PS still keen to hear the answer.
From a button on an HTML page it is not possible to put an existing
browser into full-screen/kiosk mode. Some
browsers/browser-configurations will allow the re-sizing of the window
to fake an approximation of a "maximised" window, but it is problematic
to determine what the actual size of the desktop is, whether it makes
sense to re-size the window (especially in tabbed and MDI browsers) or
even whether the OS recognises the concepts of desktop or window. Any
implementation stands a realistic chance of offering the user
functionality that cannot be delivered by the script, and may not make
sense anyway. And doing so in a context where a better (and easily
recognised) alternative will likely already be available to the user. An
effort to re-invent a wheel, with a predictably square outcome.
<snip>
Please do not top-post to comp.lang.javascirpt. See the group's FAQ:-
<URL:
http://jibbering.com/faq >
Richard.