throbber

Showing a throbber during html page load and rendering

∥☆過路亽.° 提交于 2020-01-24 11:15:50
问题 I have a page that renders slowly. The trip across the net is quick. The initial load of the page is quick. You can actually see (if your machine is slow enough), the initial layout of the html components. Then some javascript stuff runs, making some of those components all ajaxy. Then finally the css gets applied. I can't do anything about the javascript that's slowing everything to a crawl. So I need a throbber to tell the user to hold up, the browser is working. Is there any way to trap

How do you stop browser from 'hourglassing' when Javascript is DONE (stop throbber)?

纵饮孤独 提交于 2020-01-04 02:54:13
问题 Writing a small HTML web page with some very simple Javascript in it, I noticed that after it was done, it kept the circle spinning (firefox). I've seen that many times on other pages and always thought that it was a Javascript error or loop problem, but this program I was running was definitely done. Here is one example of a small web page that does this. After you click the button and it processes, the throbber (thanks for Kooilinc for the term) keeps on going. <!DOCTYPE html PUBLIC "-//W3C

Turbolinks: what is the Rails 4 way of showing progress for slow pages?

耗尽温柔 提交于 2019-12-12 10:36:05
问题 This question might sound similar to Rails turbolinks long request doesn't show page load. I've recently started new Rails 4 application, which uses Turbolinks library by default - it is awesome: makes the application feel faster/snappier, however I do have some pages that are slower than others. Unfortunately I can't find a good way to make a browser show the default loading indicator - just like it does when it loads "conventional" web pages. People recommend different JavaScript solutions,

Trying to invoke dimmer/throbber Before/During Ajax

邮差的信 提交于 2019-12-11 14:55:51
问题 Here is what I want to / am trying to do. There is a form. The form has a submit button. the onMouseDown() event for the submit button is: <input type='submit' value='Search' name='save' id='save' onmousedown = 'DimOn("test.php", "SearchResultDiv")' /> Now, once the button is clicked I want it to do three things in EXACT order. 1) Dim the page. 2) Perform the Ajax Query, and Populate the search Results. 3) Remove the Dim. EDIT: Even tried using the beforeSend, and Complete events in jQuery

Using QThread for a throbber

徘徊边缘 提交于 2019-12-08 13:29:04
问题 I would like to add a throbber to my GUI when some actions are launched. Here is my script : class StartTask(QtCore.QThread): taskStarted = pyqtSignal() def run(self): self.taskStarted.emit() class StopTask(QtCore.QThread): taskStopped = pyqtSignal() def run(self): self.taskStopped.emit() class Projet(object): def __init__(self): self.movie = '' # throbber self.startTask = StartTask() self.startTask.taskStarted.connect(self.startThrobber) self.stopTask = StopTask() self.stopTask.taskStopped

Cooler ASCII Spinners? [closed]

做~自己de王妃 提交于 2019-11-28 02:31:12
In a console app, an ascii spinner can be used, like the GUI wait cursor, to indicate that work is being done. A common spinner cycles through these 4 characters: '|', '/', '-', '\' What are some other cyclical animation sequences to spice up a console application? Balloons... . o O @ * Joe Koberg Lots of choices with Unicode, including ⌚ and ⌛! ← ↖ ↑ ↗ → ↘ ↓ ↙ ▁ ▂ ▃ ▄ ▅ ▆ ▇ █ ▇ ▆ ▅ ▄ ▃ ▁ ▉▊▋▌▍▎▏▎▍▌▋▊▉ ▖ ▘ ▝ ▗ ┤ ┘ ┴ └ ├ ┌ ┬ ┐ ◢ ◣ ◤ ◥ ◰ ◳ ◲ ◱ ◴ ◷ ◶ ◵ ◐ ◓ ◑ ◒ ◡◡ ⊙⊙ ◠◠ ⣾⣽⣻⢿⡿⣟⣯⣷ ⠁⠂⠄⡀⢀⠠⠐⠈ The entire braille block, even in random order http://www.fileformat.info/info/unicode/block/braille_patterns

Cooler ASCII Spinners? [closed]

一曲冷凌霜 提交于 2019-11-26 23:44:39
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . In a console app, an ascii spinner can be used, like the GUI wait cursor, to indicate that work is being done. A common spinner cycles through these 4 characters: '|', '/', '-', '\' What are some other cyclical animation sequences to spice up a console application? 回答1:

Stop the browser “throbber of doom” while loading comet/server push iframe

让人想犯罪 __ 提交于 2019-11-26 19:47:22
When using Comet, or Ajax Long Pull techniques - an iframe is usually used. And while that iframe is waiting for the long connection to close, the browser is spinning its throbber (the progress/loading indicator). Some websites, for example etherpad.com, managed to make it stop. How do they do it? Evgeny After digging for a day and a night in the guts of the internets, here is what I came up with: server-sent events - Very cool, currently works only in Opera, but may be part of HTML5 and other browsers may support it sometime. Adds a new element tag with content-type of "application/x-dom

Stop the browser “throbber of doom” while loading comet/server push iframe

陌路散爱 提交于 2019-11-26 07:26:46
问题 When using Comet, or Ajax Long Pull techniques - an iframe is usually used. And while that iframe is waiting for the long connection to close, the browser is spinning its throbber (the progress/loading indicator). Some websites, for example etherpad.com, managed to make it stop. How do they do it? 回答1: After digging for a day and a night in the guts of the internets, here is what I came up with: server-sent events - Very cool, currently works only in Opera, but may be part of HTML5 and other