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

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


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