[sword-devel] Web Interface

Matthew Donadio sword-devel@crosswire.org
Sat, 22 Feb 2003 22:53:43 -0500


(again, please send emails in plain text)


YTang0648 wrote:

Netscape start to support JavaScript since 2.0. JavaScript itself is
never the reason cause those problem (beside people turn it off). The
problem is on
Netscape 4.7, IE5 or Mac IE is the level of DOM support. You are
completed confused between JavaScript language itself and the API hook
into the
browser - DOM- DOM level 0, DOM level 2 or DOM level 3.
All of the browser you mention do have JavaScript support, they may have
different version of the support for JavaScript and DOM but they all
have
JavaScript support unless user turn the JavaScript off.

And I reply:

Yes, you are correct.  Technically, all of those broswers support
JavaScript, but without the proper DOM support, what use is JavaScript
in a browser for real applications?

Look at most books on JavaScript.  About 25% or less is dedicated to
actual JavaScript, and the the rest is DOM support.

Pushing any computation onto the client is a really bad idea.  Covering
all client tagets cases is a royal pain.  If most users can't be counted
on to have their clock and timezone set properly, then all bets are off.

-- 
Matthew Donadio (m.p.donadio@ieee.org)