[thelist] javascript:// :is it necessary?

James Aylard webmaster at equilon-mrc.com
Thu Jun 28 11:33:50 CDT 2001


Sarah,

> Second, images[imagename].src is JavaScript, all
> mouseovers are javascript.

    Well, technically, it depends. Netscape traditionally lumped all manner
of browser objects, properties, and methods into its JavaScript reference
along with true scripting objects, properties, and methods such as Date,
getDate(), etc. Microsoft has/have always segregated browser-related
features into a document object model separate from the scripting language.
    Essentially, Microsoft's basic approach won out, as many aspects of its
document object model are standardized in the W3C's DOM, and the core of the
JavaScript language are segregated and standardized in ECMA's ECMAScript.
Netscape 6 honors this new order.
    All of that is to say that an inline rollover, such as the one presented
earlier, is, as you say, JavaScript (although it could be written as
VBScript for IE), even though it is almost entirely constructed of
components of the browser's document object model.

James Aylard





More information about the thelist mailing list