Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #20594

Re: client side hour glass icon?

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: client side hour glass icon?
Date 2013-07-09 08:53 +0000
Organization A noiseless patient Spider
Message-ID <krgj2t$4if$2@dont-email.me> (permalink)
References <0b094737-1b40-41d2-a114-042773825466@googlegroups.com>

Show all headers | View raw


On Mon, 08 Jul 2013 18:10:00 -0700, SpreadTooThin wrote:

> I have a server side function that can take a while to complete.
> During that time the user should see an hour glass icon on that their
> client web page.
> I thought there must be a some java script to do this.
> Help?

In javascript the following:

document.body.style.cursor = "wait";

might, under some conditions, at certain phases of the moon[1], when the 
wind is in the appropriate direction[2], have something approaching the 
desired effect.

I think:

document.body.style.cursor = "";

sets it back to the default.[3]

[1] No I don't know which ones.
[2] See [1]
[3] Could be wrong on this, in which case I have no idea how to reset it, 
but if I am wrong I'm sure someone will be along shortly with details.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

client side hour glass icon? SpreadTooThin <bjobrien62@gmail.com> - 2013-07-08 18:10 -0700
  Re: client side hour glass icon? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-07-09 09:51 +0200
  Re: client side hour glass icon? Denis McMahon <denismfmcmahon@gmail.com> - 2013-07-09 08:53 +0000
    Re: client side hour glass icon? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-09 22:18 +0200
      Re: client side hour glass icon? Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2013-07-10 08:20 +0200
        Re: client side hour glass icon? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-10 21:27 +0200
      Re: client side hour glass icon? John Harris <niam@jghnorth.org.uk.invalid> - 2013-07-10 14:46 +0100
        Re: client side hour glass icon? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-10 15:57 +0200
          Pointless rants (Was: Re: client side hour glass icon?) "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-07-10 19:18 +0300
            Re: Pointless rants Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-10 19:45 +0200
          Re: client side hour glass icon? danca <ynnadrebyc@tiscalinet.it> - 2013-07-10 18:31 +0200
          Re: client side hour glass icon? John Harris <niam@jghnorth.org.uk.invalid> - 2013-07-11 10:06 +0100
            Re: client side hour glass icon? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-11 18:32 +0200
              Re: client side hour glass icon? John Harris <niam@jghnorth.org.uk.invalid> - 2013-07-12 16:28 +0100
                ECMAScript (was: client side hour glass icon?) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-12 21:12 +0200
                Re: ECMAScript (was: client side hour glass icon?) John Harris <niam@jghnorth.org.uk.invalid> - 2013-07-13 17:01 +0100
  Re: client side hour glass icon? Danny <dann90038@gmail.com> - 2013-07-09 10:53 -0700

csiph-web