views:

766

answers:

6

In the browsers using HTML, Ajax, or YUI (JavaScript in general) what are successful and preferential implementations of the 'please wait we are working on your request'?

Additional context is that the Web Application I work on has a few requests that can require significant IO/CPU time (10 - 30 seconds) and has the need to communicate to the user that we got your request and we are working on it.

Edit: Another aspect is have you seen a site's implementation that impresses you? An example you like

+3  A: 

Make the indicator: obvious, prominent, and appear either always in the same place or by the control that was clicked to initiate the action. Depending on the audience of your application, nowadays the ubiquitous "loading circle" does the trick, but it doesn't hurt to add a "Loading..." next to it.

Paolo Bergantino
I wouldn't use "loading" circle for something, that takes longer then 5s
vartec
+6  A: 

For something that takes that long, you should use progress bar or similar. For example:

vartec
+2  A: 

If it's going to take 20 or 30 seconds, don't block me up. Let me continue working on other stuff and let me know when it's done.

Adam Jaskiewicz
+1  A: 

Check http://www.ajaxload.info/ :-)

Ilya Birman
Always going to that site to grab a new loader anim.
random
+1  A: 

vartec provided the canonical YUI example. An excellent Spanish developer named Satyam also has a YUI implementation that's of interest if you can provide progress feedback during the time you're asking the user to wait:

http://satyam.com.ar/yui/2.5.0/progressbar/index.html

Satyam's Progress Bar is available for YUI 2.x and YUI 3.x and is expected to become part of the official YUI library in a subsequent release.

-Eric

Eric Miraglia
+1  A: 

In general, you would place there a blocking overlay with a spinning wheel/throbber as a busy indicator. Dojo offers some tools off-the-shelf: Busy Button and more general Standby.

Maine