Hi,
I an trying to figure out how to use some browser objects like screen,
window, parent, document, top etc. These are available as built-in global
variables when programming the browser using javascript.
it seems that they are not part of the HTML DOM (well, "document" is but
properties like "document.location" aren't) so I don't know where to look.
They are described in netscape's documentation for javascript 1.3 but that
is well out of date now. The newer netscape documentation confines itself to
just the language features and leaves everything else to the DOM
specification.
there are lots of tutorials and unofficial information, but I could really
use a spec to go by, so that I can produce some portable code. Any clues
please? - all this "trial and error" programming is driving me mad.
many thanks
Andy 2 1483
Andy Fish wrote: I an trying to figure out how to use some browser objects like screen, window, parent, document, top etc. These are available as built-in global variables when programming the browser using javascript.
it seems that they are not part of the HTML DOM (well, "document" is but properties like "document.location" aren't) so I don't know where to look.
They are described in netscape's documentation for javascript 1.3 but that is well out of date now. The newer netscape documentation confines itself to just the language features and leaves everything else to the DOM specification.
there are lots of tutorials and unofficial information, but I could really use a spec to go by, so that I can produce some portable code. Any clues please? - all this "trial and error" programming is driving me mad.
Use the Netscape 1.3 client side JavaScript reference documentation,
what it says about window, screen, navigator is usually implemented by
other browsers.
As for other browsers, for MS IE check http://msdn.microsoft.com/library/de...obj_window.asp
for the window object and have a look at the MSDN library in general for
the documentation on other objects.
As for Opera check http://www.opera.com/docs/specs/#jscript
--
Martin Honnen http://JavaScript.FAQTs.com/
Thanks for the quick response and the links. At least now I know there is no
single standard
BTW I have also found the "missing" documentation for newer versions of
netscape at the mozilla site - http://www.mozilla.org/docs/dom/.
Andy
"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:40********@olaf.komtel.net...
Andy Fish wrote:
I an trying to figure out how to use some browser objects like screen, window, parent, document, top etc. These are available as built-in
global variables when programming the browser using javascript.
it seems that they are not part of the HTML DOM (well, "document" is but properties like "document.location" aren't) so I don't know where to
look. They are described in netscape's documentation for javascript 1.3 but
that is well out of date now. The newer netscape documentation confines
itself to just the language features and leaves everything else to the DOM specification.
there are lots of tutorials and unofficial information, but I could
really use a spec to go by, so that I can produce some portable code. Any clues please? - all this "trial and error" programming is driving me mad. Use the Netscape 1.3 client side JavaScript reference documentation, what it says about window, screen, navigator is usually implemented by other browsers. As for other browsers, for MS IE check http://msdn.microsoft.com/library/de...obj_window.asp for the window object and have a look at the MSDN library in general for the documentation on other objects. As for Opera check http://www.opera.com/docs/specs/#jscript
--
Martin Honnen http://JavaScript.FAQTs.com/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andy Fish |
last post by:
Hi,
I an trying to figure out how to use some browser objects like screen,
window, parent, document, top etc. These are available as built-in global
variables when programming the browser using...
|
by: egbert |
last post by:
Once in a while you come acros aline of documentation
that you have to, or that invites you to, read it again.
This is what I found in PyGTK:
The set_screen method sets the 'screen" property to...
|
by: emily224 |
last post by:
Hello,
I have been trying to understand this source code, which I retreived from my online course test. I would like to know how to find the answer for the question on the test. Im sure the answer...
|
by: emily224 |
last post by:
Hello,
I have been trying to understand this source code, which I retreived from my online course test. I would like to know how to find the answer for the question on the test. Im sure the answer...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| | |