Thanks guys, that works.  I don't even seem to need to reset it afterwards,
probably because I'm opening a new page.
Cheers
Ken





"Chen, Gin" <[EMAIL PROTECTED]>@JAVA.SUN.COM> il 21/06/2002 16.10.48

Per favore, rispondere a "A mailing list for discussion about Sun
      Microsystem's Java Servlet API Technology."
      <[EMAIL PROTECTED]>

Inviato da:    "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>


Per:  [EMAIL PROTECTED]
Cc:

Oggetto:  Re: (Slightly off topic): Hourglass from a jsp page


you have it right. but it should be something like:

<button onclick="document.body.style.cursor='wait'">Click</button>

or using classes you can do:

<style>
        .wait {cursor:wait}
        .resume {cursor:hand}
</style>


<body class="resume">
        <button onclick="document.body.class='wait'">Click</button>
</body>


either way.. just make sure that u reset it later.
-Tim

-----Original Message-----
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 8:50 AM
To: [EMAIL PROTECTED]
Subject: Re: (Slightly off topic): Hourglass from a jsp page


I thought this was the default behavior....  Anyway, I tried a number of
ways to get style=cursor:wait; to be invoked by an event other than
mouseover() without success.

There may be AWT or Swing ways of doing it of which I am not aware,
however.

Mark

-----Original Message-----
From: Ken Barron [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 21, 2002 6:49 AM

Sorry if this is a bit off topic.
I have a series of jsp pages with html forms containing buttons.  When the
user presses a button I want the hourglass to show (until the next page
comes up).  Is there a simple bit of script/html to do this?  Currently I
can only see the hourglass if I position the mouse over the title bar of
the browser.

Thanks for any help
Ken

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to