W3C home > Mailing lists > Public > www-html@w3.org > June 1998

Re: Change mouse cursor upon submit

From: Frank Boumphrey <bckman@ix.netcom.com>
Date: Fri, 12 Jun 1998 01:06:02 -0400
To: <kg9ae@geocities.com>, "Katonica, Jason" <Jason.Katonica@ogs.state.ny.us>, "html (w3)mailing list" <www-html@w3.org>
Message-ID: <01bd95bf$cbd0e8c0$aeacdccf@bckman.ix.netcom.com>
>Shouldn't that be
>:link(Cursor:hand;)

I think you meant to correct me to

:link(Cursor:pointer;)

a la CSS specification.

However IE4 does not accept pointer, it just accepts hand!!(not in the
spec), and communicator doesn't (yet)support the cursor property at all!!

>But, that pseudo-element won't be much good for a form submit.  At least, I
>don't think it will

I was lazy I just wrote the first thing that came into my head!! For Jasons
problem you would have to use onclick, or what everthe vb equivelent is,
just as you suggest.

Here are the other values cursor can take (all implemented in IE4):-

The values that cursor can take are as follows.
   auto.   The cursor is based on the current context
   crosshair
   default:   usually an arrow
   pointer   (but use ‘hand')
   move
   *-resize   n, nw, sw, s, w, resizing cursor
   text    the I bar
   wait    an hour glass
   help   a question mark
   <url>   The source of a cursorfile


Regards Frank

-----Original Message-----
From: David Norris <kg9ae@geocities.com>
To: Frank Boumphrey <bckman@ix.netcom.com>; Katonica, Jason
<Jason.Katonica@ogs.state.ny.us>
Date: Thursday, June 11, 1998 10:46 PM
Subject: RE: Change mouse cursor upon submit


>Shouldn't that be
>:link(Cursor:hand;)
>
>But, that pseudo-element won't be much good for a form submit.  At least, I
>don't think it will.
>
>You should be able to change the cursor on any event.  You should look
>through the CSS2 specs under dynamic pseudo elements.  Section 5.11.3.  Or,
>read the whole CSS2 spec.  It's interesting and informative.  Anyway, any
>script won't be well supported across versions in Navigator or Explorer.
>And, if you use VBScript none of the script will work in Navigator.  But,
>neither is it likely to work in both browsers even if you use JScript.
>Don't expect to use it without some complaint unless this is for an
Intranet
>where the browsers are tightly controlled.  Enough gloom and doom, on with
>the scripting.
>
>To do this:
>
>I would suggest switching class onclick of the button.
>
>onclick="this.className='someclassname'"
>
>You need to read through the Microsoft Internet SDK 4.0 for details about
>Internet Explorer related stuff.  This will change the style of just a
>single element.
>
><INPUT type="submit" onclick="this.style.cursor=hand">
>will change the cursor when the mouse hovers over the button after it has
>been clicked.  You should be able to change the cursor for BODY or HTML to
>affect the cursor over the whole document.
>
>I would suggest subscribing to the IE SDK news groups at
>news:publicnews.microsoft.com as you will likely find much better answers.
>That is, if you don't mind wading through the anti-MS noise.
>
>,David Norris
>
>World Wide Web - http://www.geocities.com/CapeCanaveral/Lab/1652/
>Illusionary Web - http://illusionary.dyn.ml.org/ <-- 02:00 - 10:00 GMT
>Video/Audio Phone - callto:illusionary.dyn.ml.org
>Page via mail - 412039@pager.mirabilis.com
>ICQ Universal Internet Number - 412039
>E-Mail - kg9ae@geocities.com
>
>
Received on Friday, 12 June 1998 00:59:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT