[Phpmyadmin-devel] js advice please

Atul Pratap Singh atulpratapsingh05 at gmail.com
Mon Dec 30 16:34:44 CET 2013


On Mon, Dec 30, 2013 at 11:33 PM, Marc Delisle <marc at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20131230/91591cc7/attachment.html>


More information about the Developers mailing list