Loading image (gif) doesn't stop
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
1. When searching for code samples, the gif image continues running even
when the page load is stopped abruptly
What is the expected output? What do you see instead?
gif image should stop loading when the page is stopped.
Original issue reported on code.google.com by vasanth....@gmail.com
on 26 Jan 2011 at 9:41
The "gif" loading image, is dependent on the browser used stops in case the
search query is interrupted.
Original comment by vasanth....@gmail.com
on 26 Jan 2011 at 10:19
- Changed state: Verified
Matt,
It will be a good idea to block all other controls on the page when search
button is hit. This will ensure that the user doesn't perform any other action
till the search finishes. You can do this by creating a display:none; div that
would be as big as the page and should cover everything on the page. This div
is set to display:block (or whatever you choose) only when the search button is
hit. You can place the rotating gif image on this div. This is a widely
accepted approach across many websites. Only problem can be when someone uses
the browser button to stop the page. In such a case the div will still remain
in place blocking the entire page. For such a case, provide a close button on
the div. So that the user can close the div and get back to using the site
normally. Meanwhile their request will be terminated since they clicked the
stop button on the browser.
Original comment by aniket.a...@gmail.com
on 15 Feb 2011 at 3:36
- Added labels: Type-Enhancement, Usability
- Removed labels: Type-Other