W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Re: javascript commands

From: Jim Ley <jim@jibbering.com>
Date: Mon, 18 Mar 2002 22:00:07 -0000
Message-ID: <07a201c1cec8$445cd480$ca969dc3@emedia.co.uk>
To: <martin@dc.cis.okstate.edu>, <w3c-wai-ig@w3.org>
"Martin McCormick" <martin@dc.cis.okstate.edu>
> I am looking for a list of javascript commands in order
> to see what it will take to bring at least some javascript
> functionality to lynx.

core javascript is defined by the ECMAScript standard, IE6 and Netscape
6.1 are fully compliant bar bugs of which there aren't many.  If you're
bringing it lynx, then SeaMonkey is your obvious choice which is the
engine that Mozilla uses.

> Probably what I need  are javascript commands for
> Netscape since it is not as proprietary as Microsoft Internet
> Explorer commands.

What you're actually talking about is the Document Object Model, of which
Netscape 4 is probably more proprietary and Netscape 6 less, however
there is a standard as defined by w3.org.  For Lynx support though the
most important and applicaple part is the so called DOM 0, which is not a
standard (or even a recommendation), but is extremely well supported by a
great many browsers.

> My goals are bear bones functionality regarding the
> navigation of links to start with.  I have seen a number of sites
> that would probably work reasonably well with the lynx browser if only
> navigation and selection of links worked.

Indeed, implementing the location object and the window.open object -
neither of which are in any standard, would open a huge number of very
poorly authored sites.

Personally I find Microsofts documentation the clearest:
for example, you'd want this object:
and window.open:

(the functionality of those objects are basically fixed across all
javascript capable browsers other than window.open, however a window open
which provided links would be very useful.

Implementing those 3  would open up the majority of pages,  next would
probably be a form.submit() to cope with forms you can't otherwise

It's DOM 0 you need and all browsers have implemented it pretty much the
same, so look for documentation that you find friendly.

Received on Monday, 18 March 2002 17:03:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:36:07 UTC