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

evolt@spinhead evolt at spinhead.com
Thu Jun 28 12:06:45 CDT 2001


HTML 4 spec (18.2.1, 18.2.3) says that 'onmouseover' is an attribute of the
HTML 'script' tag.

spinhead

----- Original Message -----
From: "James Aylard" <webmaster at equilon-mrc.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, June 28, 2001 9:49 AM
Subject: Re: [thelist] javascript:// :is it necessary?


> Chris,
>
> > Um, there may be a degree of confusion here. onmouseover is a javascript
> > event handler. You can't do anything with it in ASP, because ASP is an
> ISAPI
> > filter, and thus in this context VBScript is processed on the server.
The
> > onmouseover event handler is purely client-side, and is handled by the
> > browser's implementation of the javascript engine. I don't know whether
or
> > not you could write a client-side VBScript rollover effect as it's never
> > been a meaningful excercise for me, but if you can, then VBScript also
has
> > an onmouseover event handler.
>
>     Well, it is debatable whether onmouseover is JavaScript. As I wrote
> earlier, traditionally Netscape said, "yes", and Microsoft said, "no". W3C
> and ECMA standards say, "no", as well -- as does Netscape now with the
> release of its latest browser. The mouseover event itself is part of the
> document object model, and thus accessible to any client-side scripting
> language.
>     And, yes, you can execute a client-side VBScript using onmouseover.
But
> you are right that this should not be confused with server-side ASP.
>
> James Aylard





More information about the thelist mailing list