On Mon, Dec 30, 2013 at 11:33 PM, Marc Delisle <marc@infomarc.info> wrote:
Hi,
I'm working on a bug [0]. The solution I'm trying is:

- use display:none on the throbber
- temporarily replace the navi reload image with the throbber image

Sounds like a better solution!
 
My problem is that the reloading operation is so fast (less than one
second) that I cannot see the throbber image. When I add an alert just
before putting back the reload image, I have the proof that the throbber
image is there.

So, how can I ensure that the throbber image stays there at least, say,
one or two seconds? I tried with setTimeout() to no avail.

setTimeout() should have worked to delay it; means, make it visible on start of some operation; and on finishing operation, put setTimeout() to hide it sometime later..


Regards
--
Atul Pratap Singh
http://blog.atulsisodia.in/